Uses of Class
com.yahoo.prelude.query.Substring
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.
-
Uses of Substring in com.yahoo.prelude.query
Modifier and TypeMethodDescriptionBlockItem.getOrigin()
Returns the substring which is the origin of this item, or null if noneSegmentItem.getOrigin()
Returns null right nowTermItem.getOrigin()
Returns the substring which is the raw form of the text leading to this token.Modifier and TypeMethodDescriptionvoid
Sets the origin of thisModifierConstructorDescriptionprotected
IndexedSegmentItem
(String rawWord, String current, boolean isFromQuery, boolean stemmed, Substring origin) PhraseSegmentItem
(String rawWord, String current, boolean isFromQuery, boolean stemmed, Substring substring) SegmentItem
(String rawWord, String current, boolean isFromQuery, boolean stemmed, Substring origin) Creates a new segment itemprotected
TaggableSegmentItem
(String rawWord, String current, boolean isFromQuery, boolean stemmed, Substring origin) protected
WordAlternativesItem
(String indexName, boolean isFromQuery, Substring origin, Collection<WordAlternativesItem.Alternative> terms) -
Uses of Substring in com.yahoo.prelude.query.parser
Modifier and TypeFieldDescriptionfinal Substring
Token.substring
The raw substring causing this token, never nullModifier and TypeMethodDescriptionToken.getSubstring()
Returns the substring containing the image ins original form (including casing), as well as all the text surrounding the tokenModifierConstructorDescriptionToken
(Token.Kind kind, String image, boolean special, Substring substring) Token
(Token.Kind kind, String image, Substring substring)