Uses of Class
com.yahoo.prelude.query.CompositeItem
Package
Description
The query model representing a boolean combination of selection criteria, where elements may be
simple criteria, nested boolean operators, or annotated pieces of natural language text.
The search query model
Vespa search platform query transformation infrastructure.
-
Uses of CompositeItem in com.yahoo.prelude.query
Modifier and TypeClassDescriptionclass
An and'ing of a collection of sub-expressionsclass
An immutable and'ing of a collection of sub-expressions.class
Common implementation for Item classes implementing the IndexedItem interface.class
Common implementation for Item classes implementing the TaggableItem interface.class
An Item where each child is an alternative which can be matched.class
Common implementation for Item classes implementing the IndexedItem interface.class
A set of terms which must be near each other to match.class
A composite item which specifies semantics which are not maintained if an instance with a single child is replaced by the single child.class
A composite item where the first item is positive and the following items are negative items where matches should exclude the document should from the result.class
Ordered NearItem.class
An or'ing of a collection of sub-expressionsclass
A term which contains a phrase - a collection of word termsclass
A term which contains a fixed length phrase, a collection of word terms, resulting from a single segmentation operation.class
Represents the rank operator, which only orders the result set and does not change which hits are returned.class
This represents a query where all terms are required to match in the same element id.class
An immutable and'ing of a collection of sub-expressions.class
Common implementation for Item classes implementing the TaggableItem interface.class
An item matching a uri field.final class
Weak 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.Modifier and TypeMethodDescriptionCompositeItem.clone()
Returns a deep copy of this itemItem.getParent()
Returns the parent in the query tree, or null if this node has no parentModifier and TypeMethodDescriptionClass<? extends CompositeItem>
TermType.getItemClass()
Returns the CompositeItem type this type corresponds to, or CompositeItem if it's the defaultModifier and TypeMethodDescriptionvoid
CompositeItem.ensureNotInSubtree
(CompositeItem item) void
Item.setParent
(CompositeItem parent) Sets the parent in the tree. -
Uses of CompositeItem in com.yahoo.prelude.query.parser
Modifier and TypeMethodDescriptionprotected CompositeItem
AllParser.addAnd
(Item item, CompositeItem and) Modifier and TypeMethodDescriptionprotected CompositeItem
AllParser.addAnd
(Item item, CompositeItem and) -
Uses of CompositeItem in com.yahoo.prelude.querytransform
Modifier and TypeMethodDescriptionPhraseMatcher.Phrase.getOwner()
Returns the owner, or null if this is a single item phrase with no owner -
Uses of CompositeItem in com.yahoo.prelude.semantics.engine
Modifier and TypeMethodDescriptionMatch.getParent()
Returns the parent in which the item was matched, or null if the item was root.Modifier and TypeMethodDescriptionvoid
Evaluation.insertItems
(List<Item> items, CompositeItem parent, int index, TermType desiredParentType, boolean replacing) Inserts an item to the query being evaluated in a way consistent with the query typevoid
RuleEvaluation.insertItems
(List<Item> items, CompositeItem parent, int index, TermType termType, boolean replacing) Inserts an item to the query being evaluated in a way consistent with the query type -
Uses of CompositeItem in com.yahoo.search.query
-
Uses of CompositeItem in com.yahoo.search.query.textserialize.item
-
Uses of CompositeItem in com.yahoo.search.querytransform
Modifier and TypeMethodDescriptionprotected CompositeItem
NGramSearcher.createGramRoot
(HasIndexItem term, Query query) Creates the root of the query subtree which will contain the grams to match, called byNGramSearcher.splitToGrams(com.yahoo.prelude.query.Item, java.lang.String, int, com.yahoo.search.Query)
.protected CompositeItem
NGramSearcher.createGramRoot
(Query query) Creates the root of the query subtree without access to the term being replaced.