QryEval Documentation
QryEval consists of the following classes.
Access to the index
Essential data structures
DaaT Query evaluation
- Qry: The Qry class is the root class in the query operator hierarchy.
- QryIop: All query operators that return inverted lists are subclasses of the QryIop class.
- QryIopSyn: The SYN operator for all retrieval models.
- QryIopTerm: The TERM operator for all retrieval models.
- QryParser: A simple query parser.
- QrySop: QrySop is the root class of all query operators that calculate a score for a document.
- QrySopOr: The OR operator for all retrieval models.
- QrySopScore: The SCORE operator for all retrieval models.
- QrySopSum: The SUM operator for all retrieval models.
- QrySopWsum: The WSUM operator for all retrieval models.
- RetrievalModel: RetrievalModel is the root class in the retrieval model hierarchy.
- RetrievalModelUnrankedBoolean: Define and store data for the Unranked Boolean Retrieval Model.
- Qry: The Qry class is the root class in the query operator hierarchy.
Ranking pipeline
- Ranker: Get an initial ranking for a set of queries.
- Reranker: Rerank an initial ranking (HW2, HW4).
- RerankerWithLtr: Use feature-based learning to rank to rerank an initial ranking (HW2).
Output
Utilities
For Your Information
The Java libraries are accessed using pyjnius. QryEval can also use jpype. Both produce the same results. In our initial testing, we found pyjnius to be a little faster than jpype, so QryEval defaults to pyjnius, however both are supported.
Although pyjnius and jpype are amazing, both are quite slow for certain kinds of index access, so QryEval also uses its own Java helper class (IdxHelper.jar).
This information is just FYI, in case you are curious.