Uses of Class
com.yahoo.prelude.query.CompositeItem
Packages that use 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
Subclasses of CompositeItem in com.yahoo.prelude.queryModifier 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.Methods in com.yahoo.prelude.query that return CompositeItemModifier 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 parentMethods in com.yahoo.prelude.query that return types with arguments of type CompositeItemModifier and TypeMethodDescriptionClass<? extends CompositeItem>
TermType.getItemClass()
Returns the CompositeItem type this type corresponds to, or CompositeItem if it's the defaultMethods in com.yahoo.prelude.query with parameters of type CompositeItemModifier 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
Methods in com.yahoo.prelude.query.parser that return CompositeItemModifier and TypeMethodDescriptionprotected CompositeItem
AllParser.addAnd
(Item item, CompositeItem and) Methods in com.yahoo.prelude.query.parser with parameters of type CompositeItemModifier and TypeMethodDescriptionprotected CompositeItem
AllParser.addAnd
(Item item, CompositeItem and) -
Uses of CompositeItem in com.yahoo.prelude.querytransform
Methods in com.yahoo.prelude.querytransform that return CompositeItemModifier 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
Methods in com.yahoo.prelude.semantics.engine that return CompositeItemModifier and TypeMethodDescriptionMatch.getParent()
Returns the parent in which the item was matched, or null if the item was root.Methods in com.yahoo.prelude.semantics.engine with parameters of type CompositeItemModifier and TypeMethodDescriptionvoid
Evaluation.insertItems
(List<Item> items, CompositeItem parent, int index, TermType desiredParentType) 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) Inserts an item to the query being evaluated in a way consistent with the query type -
Uses of CompositeItem in com.yahoo.search.query
Subclasses of CompositeItem in com.yahoo.search.query -
Uses of CompositeItem in com.yahoo.search.query.textserialize.item
Classes in com.yahoo.search.query.textserialize.item with type parameters of type CompositeItem -
Uses of CompositeItem in com.yahoo.search.querytransform
Methods in com.yahoo.search.querytransform that return CompositeItemModifier 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.