The query model representing a boolean combination of selection criterions, where elements may be simple criterions, nested boolean operators, or annotated pieces of natural language text.
Interface Summary Interface Description BlockItemAn interface used for anything which represents a single block of query input. HasIndexItemAn interface for items where it is useful to access an associated index name. IndexedItemInterface for Items that is indexed TaggableItemAn interface used for anything which may be addressed using an external, unique ID in the query tree in the backend.
Class Summary Class Description AndItemAn and'ing of a collection of sub-expressions AndSegmentItemAn immutable and'ing of a collection of sub-expressions. BoolItemA true/false term suitable for searching bool indexes. CompositeIndexedItemCommon implementation for Item classes implementing the IndexedItem interface. CompositeItemSuperclass of expressions which contains a collection of sub-expressions CompositeTaggableItemCommon implementation for Item classes implementing the TaggableItem interface. DotProductItemA weighted set query item to be evaluated as a sparse dot product. EquivItemAn Item where each child is an alternative which can be matched. ExactStringItemUsed to signal that this term requires exact match if the backend supports it. FalseItemA query item which never matches. HighlightClass encapsulating information on extra highlight-terms for a query IndexedSegmentItemCommon implementation for Item classes implementing the IndexedItem interface. IntItemThis represents either a number (integer or floating point) a partial range, given by "<number" or ">number", where the numbers are exclusive, or a full or open range "[number;number], "[number;]" or "[;number]" where the numbers are inclusive, or exclusive if a square bracket is replaced with a pointy one If a range is specified in brackets, it is also permissible to add a third number specifying the number of hits this will match on each node - [from;to;hitLimit] ItemA term of the query language. ItemHelperHelper function for Item LimitAn immutable numeric range limit which can be inclusive or exclusive MarkerWordItemSpecial words known by the index used for marking things. NearItemA set of terms which must be near each other to match. NonReducibleCompositeItemA composite item which specifies semantics which are not maintained if an instance with a single child is replaced by the single child. NotItemA composite item where the first item is positive and the following items are negative items which should be excluded from the result. NullItemA place holder for null queries to make searchers easier to write. ONearItemOrdered NearItem. OrItemAn or'ing of a collection of sub-expressions PhraseItemA term which contains a phrase - a collection of word terms PhraseSegmentItemA term which contains a fixed length phrase, a collection of word terms, resulting from a single segmentation operation. PredicateQueryItemA PredicateQueryItem is a collection of feature/value-pairs that are used to query predicate fields, which contains boolean constraints. PredicateQueryItem.Entry PredicateQueryItem.EntryBase PredicateQueryItem.RangeEntry PrefixItemA word which matches beginnings of words instead of complete words PureWeightedInteger PureWeightedItem PureWeightedString QueryCanonicalizerQuery normalizer and sanity checker. QueryCanonicalizer.CanonicalizationResult RangeItemThis class represents a numeric range. RankItemRepresents the rank operator, which only orders the result set and does not change which hits are returned. RegExpItemMatch a field with the contained regular expression. SameElementItemThis represents a query where all terms are required to match in the same element id. SegmentItemAn immutable and'ing of a collection of sub-expressions. SimpleIndexedItemCommon implementation for Item classes implementing the IndexedItem interface. SimpleTaggableItemCommon implementation for Item classes implementing the TaggableItem interface. SubstringAn substring which also provides access to the full (query) string it is a substring of. SubstringItemA word that matches substrings of words SuffixItemA word that matches a suffix of words instead of a complete word. TaggableSegmentItemCommon implementation for Item classes implementing the TaggableItem interface. TermItemSuperclass of "leaf" conditions containing a single entity which is either matched in a field or not. TermTypeA term type enumeration ToolBoxQuery tree helper methods and factories. ToolBox.QueryVisitor UriItemAn item matching a uri field. WandItemA weighted set query item to be evaluated as a Wand with dot product scoring. WeakAndItemWeak And of a collection of sub-expressions: this behaves like an OR unless many hits are returned and then it starts acting more like an AND. WeightedSetItemA term which contains a weighted set. WordAlternativesItemA set words with differing exactness scores to be used for literal boost ranking. WordAlternativesItem.Alternative WordItemA simple word or token to match in some field.
Enum Summary Enum Description Item.ItemCreatorThe definitions in Item.ItemCreator must match the ones in searchlib/src/searchlib/parsequery/parse.h Item.ItemTypeThe definitions in Item.ItemType must match the ones in searchlib/src/searchlib/parsequery/parse.h SegmentingRuleIf a term has to be resegmented, and the result is more than one word, this is how the result should be handled in the query tree.
Exception Summary Exception Description QueryExceptionRuntime exception to mark errors in query parsing.