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.search.query.textserialize.item | |
com.yahoo.search.yql |
YQL+ integration.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeIndexedItem
Common implementation for Item classes implementing the IndexedItem interface.
|
class |
CompositeTaggableItem
Common implementation for Item classes implementing the TaggableItem interface.
|
class |
DotProductItem
A weighted set query item to be evaluated as a sparse dot product.
|
class |
EquivItem
An Item where each child is an alternative which can be matched.
|
class |
ExactStringItem
Used to signal that this term requires exact match if the backend supports it.
|
class |
IndexedSegmentItem
Common implementation for Item classes implementing the IndexedItem interface.
|
class |
IntItem
This 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]
|
class |
MarkerWordItem
Special words known by the index used for marking things.
|
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 |
PredicateQueryItem
A PredicateQueryItem is a collection of feature/value-pairs
that are used to query predicate fields, which contains boolean
constraints.
|
class |
PrefixItem
A word which matches beginnings of words instead of complete words
|
class |
RangeItem
This class represents a numeric range.
|
class |
RegExpItem
Match a field with the contained regular expression.
|
class |
SimpleIndexedItem
Common implementation for Item classes implementing the IndexedItem interface.
|
class |
SimpleTaggableItem
Common implementation for Item classes implementing the TaggableItem interface.
|
class |
SubstringItem
A word that matches substrings of words
|
class |
SuffixItem
A word that matches a suffix of words instead of a complete word.
|
class |
TaggableSegmentItem
Common implementation for Item classes implementing the TaggableItem interface.
|
class |
TermItem
A query term, that is, not only a term in the query language
(an item), but also a term to be found in (or excluded from)
the search index.
|
class |
WandItem
A weighted set query item to be evaluated as a Wand with dot product scoring.
|
class |
WeightedSetItem
A term which contains a weighted set.
|
class |
WordAlternativesItem
A set words with differing exactness scores to be used for literal boost
ranking.
|
class |
WordItem
A term item containing a single word.
|
Modifier and Type | Method and Description |
---|---|
private TaggableItem |
StemmingSearcher.firstWord(CompositeItem composite) |
private TaggableItem |
StemmingSearcher.lastWord(CompositeItem composite) |
private TaggableItem |
StemmingSearcher.singleWordSegment(BlockItem current,
com.yahoo.language.process.StemList segment,
Index index,
Substring substring) |
Modifier and Type | Method and Description |
---|---|
private Map<Item,TaggableItem> |
StemmingSearcher.createReverseConnectivities(Item root) |
private Map<Item,TaggableItem> |
StemmingSearcher.populateReverseConnectivityMap(Item root,
Map<Item,TaggableItem> reverseConnectivity) |
Modifier and Type | Method and Description |
---|---|
private void |
StemmingSearcher.setMetaData(BlockItem current,
Map<Item,TaggableItem> reverseConnectivity,
TaggableItem replacement) |
private void |
StemmingSearcher.setSignificance(TaggableItem target,
BlockItem original) |
Modifier and Type | Method and Description |
---|---|
private void |
StemmingSearcher.andSegmentConnectivity(BlockItem current,
Map<Item,TaggableItem> reverseConnectivity,
CompositeItem composite) |
private Item |
StemmingSearcher.checkBlock(BlockItem b,
boolean isCJK,
com.yahoo.language.Language language,
IndexFacts.Session indexFacts,
Map<Item,TaggableItem> reverseConnectivity) |
private void |
StemmingSearcher.phraseSegmentConnectivity(BlockItem current,
Map<Item,TaggableItem> reverseConnectivity,
PhraseSegmentItem replacement) |
private Map<Item,TaggableItem> |
StemmingSearcher.populateReverseConnectivityMap(Item root,
Map<Item,TaggableItem> reverseConnectivity) |
private Item |
StemmingSearcher.scan(Item item,
boolean isCJK,
com.yahoo.language.Language l,
IndexFacts.Session indexFacts,
Map<Item,TaggableItem> reverseConnectivity) |
private void |
StemmingSearcher.setConnectivity(BlockItem current,
Map<Item,TaggableItem> reverseConnectivity,
Item replacement) |
private void |
StemmingSearcher.setMetaData(BlockItem current,
Map<Item,TaggableItem> reverseConnectivity,
TaggableItem replacement) |
private Item |
StemmingSearcher.stem(BlockItem current,
boolean isCJK,
com.yahoo.language.Language language,
Map<Item,TaggableItem> reverseConnectivity,
Index index) |
Modifier and Type | Field and Description |
---|---|
private Map<TaggableItem,ItemContext.Connectivity> |
ItemContext.connectivityByItem |
Modifier and Type | Method and Description |
---|---|
private static void |
ItemInitializer.initializeTaggableForm(DispatchForm form,
TaggableItem taggableItem,
ItemIdMapper itemIdMapper) |
private static void |
ItemInitializer.initializeTaggableItem(TaggableItem item,
ItemArguments arguments,
ItemContext itemContext) |
void |
ItemContext.setConnectivity(TaggableItem item,
String id,
Double strength) |
private static void |
ItemInitializer.storeConnectivityInContext(TaggableItem item,
Object connectivity,
ItemContext itemContext) |
Modifier and Type | Field and Description |
---|---|
(package private) TaggableItem |
YqlParser.ConnectedItem.fromItem |
Modifier and Type | Field and Description |
---|---|
private Map<Integer,TaggableItem> |
YqlParser.identifiedItems |
Modifier and Type | Method and Description |
---|---|
private <T extends TaggableItem> |
YqlParser.leafStyleSettings(OperatorNode<?> ast,
T out) |
Modifier and Type | Method and Description |
---|---|
private TaggableItem |
YqlParser.resegment(String field,
OperatorNode<ExpressionOperator> ast,
String wordData,
boolean fromQuery,
Class<?> parent,
com.yahoo.language.Language language) |
Modifier and Type | Method and Description |
---|---|
private static String |
VespaSerializer.leafAnnotations(TaggableItem item) |
Constructor and Description |
---|
ConnectedItem(TaggableItem fromItem,
int toId,
double weight) |
Copyright © 2017. All rights reserved.