Package org.terrier.querying.parser
Provides the parser specification and the classes that implement the query language of the Terrier platform.
-
Interface Summary Interface Description Query.ForEachQueryNode ForEachQueryNode interfaceTerrierQLParserConstants Token literal values and constants. -
Class Summary Class Description DisjunctiveQuery Models a disjunctive choice in single term queries in a query.ExplicitMultiTermQuery MultiTermQuery where it is denoted by ( ) notationFieldQuery Models a query qualified with a field.MultiTermQuery Represents a query consisting of more than one terms or other sub-queries, qualified with field, requirement or phrase operators.PhraseQuery Models a phrase query, which can have a proximity requirement.Query An abstract class that models a query, that consists of subqueries and query terms.Query.QTPBuilder Query.QueryTermsParameter QueryParser Useful class to parse the query.RequirementQuery Models a query where the query terms have been qualified with a requirement operator, either plus, or minus.SegmentQuery Used to represent a particular segement of the query termsSimpleCharStream An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).SingleTermQuery Models a query of a single term.TerrierQLParser TerrierQLParserTokenManager Token Manager.Token Describes the input token stream. -
Exception Summary Exception Description ParseException This exception is thrown when parse errors are encountered.QueryParserException Thrown by the Manager when it cannot parse the query -
Error Summary Error Description TokenMgrError Token Manager Error.