java.lang.Object
com.k_int.IR.IRQuery
- public class IRQuery
- extends java.lang.Object
A Generic Information Retrieval Query
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SORT_SYNTAX_PREFIX
private static final java.lang.String SORT_SYNTAX_PREFIX
- The string used to syntax used to indicate that the query object contains a PREFIX string
- See Also:
- Constant Field Values
collections
public java.util.Vector collections
- The collections to be searched
query
public QueryModel query
- A model of what the search is actually trying to find. Whatever the class is,
it must implement the QueryModel interface so other components can convert the
syntax of the expression into an RPN Tree. Default class will be PrefixString.
sorting_syntax
public java.lang.String sorting_syntax
- What kind of object is the sorting instruction
sorting
public java.lang.Object sorting
- Requested sorting instruction
hints
public java.util.Hashtable hints
- Hints might contain instructions on where to look for an answer, or the
general subject area of the enquiry so that we can try and decide on some
resources to route this particular enquiry to.
IRQuery
public IRQuery()
IRQuery
public IRQuery(QueryModel query,
java.lang.String[] colls)
IRQuery
public IRQuery(QueryModel query,
java.lang.String coll)
IRQuery
public IRQuery(QueryModel query,
java.util.Vector colls)
- Construct a new query.
getQueryModel
public QueryModel getQueryModel()
setQueryModel
public void setQueryModel(QueryModel query)
getCollections
public java.util.Vector getCollections()
setCollections
public void setCollections(java.util.Vector collections)