next up previous contents
Next: UML model of Straw Up: Data manipulation Services Previous: The HsIndex Service

The HsQuery Service

  Now that we have a number of indexed documents we would like to allow users to documents within the index. HsQuery is a simple service that provides this functionality. HsQuery accepts a string query and routes that query to the IR system currently being used. The match objects (generally of the type bale.HaystackDocument) are encapsulated in a QueryResults object and passed back.



Copyright 1998, Eytan Adar (eytan@alum.mit.edu)