Package | Description |
---|---|
com.yahoo.prelude.query |
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.
|
com.yahoo.prelude.querytransform | |
com.yahoo.prelude.semantics.engine | |
com.yahoo.search.query |
The search query model
|
com.yahoo.search.query.textserialize.item | |
com.yahoo.search.querytransform |
Vespa search platform query transformation infrastructure.
|
Modifier and Type | Class and Description |
---|---|
class |
AndItem
An and'ing of a collection of sub-expressions
|
class |
AndSegmentItem
An immutable and'ing of a collection of sub-expressions.
|
class |
CompositeIndexedItem
Common implementation for Item classes implementing the IndexedItem interface.
|
class |
CompositeTaggableItem
Common implementation for Item classes implementing the TaggableItem interface.
|
class |
EquivItem
An Item where each child is an alternative which can be matched.
|
class |
IndexedSegmentItem
Common implementation for Item classes implementing the IndexedItem interface.
|
class |
NearItem
A set of terms which must be near each other to match.
|
class |
NonReducibleCompositeItem
A composite item which specifies semantics which are not maintained
if an instance with a single child is replaced by the single child.
|
class |
NotItem
A composite item where the first item is positive and the following
items are negative items which should be excluded from the result.
|
class |
ONearItem
Ordered NearItem.
|
class |
OrItem
An or'ing of a collection of sub-expressions
|
class |
PhraseItem
A term which contains a phrase - a collection of word terms
|
class |
PhraseSegmentItem
A term which contains a fixed length phrase, a collection of word terms,
resulting from a single segmentation operation.
|
class |
RankItem
Represents the rank operator, which only orders the result set and
does not change which hits are returned.
|
class |
SameElementItem
This represents a query where all terms are required to match in the same element id.
|
class |
SegmentItem
An immutable and'ing of a collection of sub-expressions.
|
class |
TaggableSegmentItem
Common implementation for Item classes implementing the TaggableItem interface.
|
class |
WeakAndItem
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 Type | Method and Description |
---|---|
CompositeItem |
CompositeItem.clone()
Returns a deep copy of this item
|
CompositeItem |
Item.getParent()
Returns the parent in the query tree, or null if this node has no parent
|
Modifier and Type | Method and Description |
---|---|
Class<? extends CompositeItem> |
TermType.getItemClass()
Returns the CompositeItem type this type corresponds to, or CompositeItem if it's the default
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeItem.ensureNotInSubtree(CompositeItem item) |
void |
Item.setParent(CompositeItem parent)
Sets the parent in the tree.
|
Modifier and Type | Method and Description |
---|---|
CompositeItem |
PhraseMatcher.Phrase.getOwner()
Returns the owner, or null if this is a single item phrase with no owner
|
Modifier and Type | Method and Description |
---|---|
CompositeItem |
Match.getParent()
Returns the parent in which the item was matched, or null if the item was root.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleEvaluation.insertItem(Item item,
CompositeItem parent,
int index,
TermType termType)
Inserts an item to the query being evaluated in a way consistent with the query type
|
void |
Evaluation.insertItem(Item item,
CompositeItem parent,
int index,
TermType desiredParentType)
Inserts an item to the query being evaluated in a way consistent with the query type
|
Modifier and Type | Class and Description |
---|---|
class |
QueryTree
The root node of a query tree.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeConverter<T extends CompositeItem> |
Modifier and Type | Method and Description |
---|---|
protected CompositeItem |
NGramSearcher.createGramRoot(Query query)
Creates the root of the query subtree which will contain the grams to match,
called by
NGramSearcher.splitToGrams(com.yahoo.prelude.query.Item, java.lang.String, int, com.yahoo.search.Query) . |
Copyright © 2018. All rights reserved.