Uses of Class
com.yahoo.prelude.query.Substring
Packages that use 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
Methods in com.yahoo.prelude.query that return SubstringModifier 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.Methods in com.yahoo.prelude.query with parameters of type SubstringModifier and TypeMethodDescriptionvoid
Sets the origin of thisConstructors in com.yahoo.prelude.query with parameters of type SubstringModifierConstructorDescriptionprotected
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
Fields in com.yahoo.prelude.query.parser declared as SubstringModifier and TypeFieldDescriptionfinal Substring
Token.substring
The raw substring causing this token, never nullMethods in com.yahoo.prelude.query.parser that return SubstringModifier and TypeMethodDescriptionToken.getSubstring()
Returns the substring containing the image ins original form (including casing), as well as all the text surrounding the tokenConstructors in com.yahoo.prelude.query.parser with parameters of type SubstringModifierConstructorDescriptionToken
(Token.Kind kind, String image, boolean special, Substring substring) Token
(Token.Kind kind, String image, Substring substring)