Uses of Class
com.attivio.sdk.search.query.phrase.Phrase
-
Packages that use Phrase Package Description com.attivio.sdk.search.fields Model forFieldExpressions
applied toQueryRequests
.com.attivio.sdk.search.query com.attivio.sdk.search.query.phrase Contains all phrase operators.com.attivio.sdk.server.tokenization Interfaces class that handle breaking free text / Strings intoTokenList
s.com.attivio.sdk.test com.attivio.sdk.token Copyright 2019 Attivio Inc., All rights reserved.com.attivio.util Contains utility classes and methods used across the Attivio code base.com.attivio.util.parser com.attivio.util.serialization.query.phrase -
-
Uses of Phrase in com.attivio.sdk.search.fields
Constructors in com.attivio.sdk.search.fields with parameters of type Phrase Constructor Description PhraseMatch(java.lang.String field, Phrase phrase)
PhraseScore(java.lang.String field, Phrase phrase)
PhraseScore(java.lang.String field, Phrase phrase, ScoreMode scoreMode)
-
Uses of Phrase in com.attivio.sdk.search.query
Methods in com.attivio.sdk.search.query that return Phrase Modifier and Type Method Description Phrase
PhraseQuery. getPhrase()
static Phrase
Queries. readPhrase(StringParser parser)
Read the nextPhrase
fromparser
.Methods in com.attivio.sdk.search.query with parameters of type Phrase Modifier and Type Method Description void
PhraseQuery. setPhrase(Phrase value)
Constructors in com.attivio.sdk.search.query with parameters of type Phrase Constructor Description PhraseQuery(Phrase phrase)
Create a query for matchingphrase
in the default search field.PhraseQuery(Phrase... terms)
PhraseQuery(java.lang.String field, Phrase phrase)
Create a query for matchingphrase
infield
.PhraseQuery(java.lang.String field, Phrase... terms)
-
Uses of Phrase in com.attivio.sdk.search.query.phrase
Subclasses of Phrase in com.attivio.sdk.search.query.phrase Modifier and Type Class Description class
AnchorFilter
Anchor phrase to start/end of an indexed value.class
FuzzyTerm
Phrase that fuzzy matches all terms are similar to a specified term.class
PhraseNear
Phrase for matching terms that are proximal to each other.class
PhraseNot
Phrase operator that matches an include phrase as long as it does not contain an exlude phrase.class
PhraseNotIn
Phrase operator that matches an include phrase as long as it is not contained within an exlude phrase.class
PhraseOr
class
PhrasePlugin
Phrase query plugin to support template queries that are replaced in during query processing.class
PhraseTerm
Represents an atomic term in a phrase.class
RegexTerm
Phrase that matches all terms that match a regular expression.class
ScopeBoost
Boost phrase matches that occur inside a specified scope.class
ScopeFilter
Require phrase to exist within a specified scope.class
ScopeTerm
Phrase that matches a named scope.class
SearchTerm
Represents a search term in a phrase.class
TermRange
Phrase that matches all terms in a range.class
WildcardTerm
Phrase that matches all terms that match a wildcard expression.Fields in com.attivio.sdk.search.query.phrase with type parameters of type Phrase Modifier and Type Field Description protected java.util.List<Phrase>
MultiTermPhrase. terms
List of terms for matching.protected java.util.List<Phrase>
MultiTermPhrase. terms
List of terms for matching.Methods in com.attivio.sdk.search.query.phrase that return Phrase Modifier and Type Method Description Phrase
Phrase. clone()
protected Phrase
PhraseNear. clone(Phrase[] terms, int length)
Clone to facilitate rewrite().protected Phrase
PhraseOr. clone(Phrase[] terms, int length)
Clone to facilitate rewrite().Phrase
PhraseNot. getExcludePhrase()
Phrase
PhraseNotIn. getExcludePhrase()
Phrase
PhraseNot. getIncludePhrase()
Phrase
PhraseNotIn. getIncludePhrase()
Phrase
AnchorFilter. getPhrase()
Get the phrase anchor filtering will be applied to.Phrase
ScopeBoost. getPhrase()
Phrase
ScopeFilter. getPhrase()
Phrase
ScopeBoost. getScope()
Phrase
PhraseHandler. handlePhrase(Phrase phrase)
Method called for handling an encounteredPhrase
during traversal.Phrase
AnchorFilter. rewrite(PhraseHandler handler)
Recursively rewrite this phrase usinghandler
.Phrase
Phrase. rewrite(PhraseHandler handler)
Recursively rewrite this phrase usinghandler
.Phrase
PhraseNot. rewrite(PhraseHandler handler)
Recursively rewrite this phrase usinghandler
.Phrase
PhraseNotIn. rewrite(PhraseHandler handler)
Recursively rewrite this phrase usinghandler
.Phrase
ScopeBoost. rewrite(PhraseHandler handler)
Recursively rewrite this phrase usinghandler
.Phrase
ScopeFilter. rewrite(PhraseHandler handler)
Recursively rewrite this phrase usinghandler
.Phrase
AnchorFilter. rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase usinghandler
.abstract Phrase
Phrase. rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase usinghandler
.Phrase
PhraseNot. rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase usinghandler
.Phrase
PhraseNotIn. rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase usinghandler
.Phrase
PhrasePlugin. rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase usinghandler
.Phrase
PhraseTerm. rewriteChildren(PhraseHandler handler)
Phrase
ScopeBoost. rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase usinghandler
.Phrase
ScopeFilter. rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase usinghandler
.Phrase
ScopeTerm. rewriteChildren(PhraseHandler handler)
static Phrase[]
Phrase. toArray(java.util.List<Phrase> terms)
Get an array of phrases fromterms
.Methods in com.attivio.sdk.search.query.phrase with parameters of type Phrase Modifier and Type Method Description void
PhraseOr. addTerm(Phrase term)
Addterm
to this phrase.PhraseNear
PhraseNear. append(Phrase term)
PhraseNear
PhraseNear. append(Phrase... terms)
protected Phrase
PhraseNear. clone(Phrase[] terms, int length)
Clone to facilitate rewrite().protected Phrase
PhraseOr. clone(Phrase[] terms, int length)
Clone to facilitate rewrite().void
Phrase. copyParameters(Phrase other)
Add all parameters fromother
.static AnchorFilter
AnchorFilter. endswith(Phrase phrase)
static AnchorFilter
AnchorFilter. equals(Phrase phrase)
Phrase
PhraseHandler. handlePhrase(Phrase phrase)
Method called for handling an encounteredPhrase
during traversal.static PhraseNear
PhraseNear. near(Phrase... terms)
Create a near (with default distance).static PhraseNear
PhraseNear. near(Phrase[] terms, int offset, int length)
Create a near (with default distance).static PhraseNear
PhraseNear. near(Phrase a, Phrase b, int distance)
Create a near between 2 terms with specified distance.static PhraseNear
PhraseNear. onear(Phrase... terms)
Create an onear (with default distance).static PhraseNear
PhraseNear. onear(Phrase[] terms, int offset, int length)
Create an onear (with default distance).static PhraseNear
PhraseNear. onear(Phrase a, Phrase b, int distance)
Create an onear between 2 terms with specified distance.static PhraseNear
PhraseNear. phrase(Phrase... terms)
Create an exact phrase.static PhraseNear
PhraseNear. phrase(Phrase[] terms, int offset, int length)
Create an exact phrase.static PhraseNear
PhraseNear. requireAll(Phrase... terms)
Create a require all.void
PhraseNot. setExcludePhrase(Phrase value)
void
PhraseNotIn. setExcludePhrase(Phrase value)
void
PhraseNot. setIncludePhrase(Phrase value)
void
PhraseNotIn. setIncludePhrase(Phrase value)
void
AnchorFilter. setPhrase(Phrase value)
Set the phrase anchor filtering will be applied to.void
ScopeBoost. setPhrase(Phrase value)
void
ScopeFilter. setPhrase(Phrase value)
void
ScopeBoost. setScope(Phrase value)
static AnchorFilter
AnchorFilter. startswith(Phrase phrase)
Method parameters in com.attivio.sdk.search.query.phrase with type arguments of type Phrase Modifier and Type Method Description static Phrase[]
Phrase. toArray(java.util.List<Phrase> terms)
Get an array of phrases fromterms
.Constructors in com.attivio.sdk.search.query.phrase with parameters of type Phrase Constructor Description AnchorFilter(AnchorFilter.AnchorMode mode, Phrase phrase)
Constructor.PhraseNear(Phrase... terms)
ConstructorPhraseNear(Phrase[] terms, int offset, int length)
ConstructorPhraseNot(Phrase includePhrase, Phrase excludePhrase)
Constructor.PhraseNotIn(Phrase includePhrase, Phrase excludePhrase)
Constructor.PhraseOr(Phrase... terms)
ConstructorPhraseOr(Phrase term1, Phrase term2)
ConstructorScopeBoost(Phrase phrase, Phrase scope)
Constructor.ScopeBoost(Phrase phrase, java.lang.String scope)
Constructor.ScopeFilter(ScopeTerm scope, Phrase phrase)
Constructor.ScopeFilter(java.lang.String scope, Phrase phrase)
Constructor.Constructor parameters in com.attivio.sdk.search.query.phrase with type arguments of type Phrase Constructor Description PhraseNear(java.util.List<Phrase> terms)
ConstructorPhraseOr(java.util.List<Phrase> terms)
Constructor -
Uses of Phrase in com.attivio.sdk.server.tokenization
Methods in com.attivio.sdk.server.tokenization that return Phrase Modifier and Type Method Description Phrase
Tokenizer. tokenize(SchemaField field, java.util.Locale locale, SearchTerm term)
Tokenizesterm
into a Phrase for query processing.Phrase
Tokenizer. tokenize(SchemaField field, java.util.Locale locale, TermRange range)
Tokenizesrange
into a Phrase for query processing.Phrase
Tokenizer. tokenize(SchemaField field, java.util.Locale locale, WildcardTerm term)
Tokenizes a wildcardterm
into a Phrase for query processing. -
Uses of Phrase in com.attivio.sdk.test
Methods in com.attivio.sdk.test with parameters of type Phrase Modifier and Type Method Description static PhraseAssert
PhraseAssert. assertThat(Phrase actual)
Create aPhraseAssert
for asserting attributes ofactual
.static PhraseAssert
SdkAssert. assertThat(Phrase phrase)
Create aPhraseAssert
for asserting attributes ofactual
.PhraseAssert
PhraseAssert. equals(Phrase expected)
PhraseAssert
PhraseAssert. isTokenized(Phrase expected)
Assert that all terms inactual
are tokenized, and matchesexpected
. -
Uses of Phrase in com.attivio.sdk.token
Methods in com.attivio.sdk.token that return Phrase Modifier and Type Method Description Phrase
Position. toPhrase()
Phrase
Position. toPhrase(int offsetBase)
Phrase
Token. toPhrase()
Convert this token into a suitable Phrase query.Phrase
Token. toPhrase(int offsetBase)
Convert this token into a suitable Phrase query.Phrase
TokenList. toPhrase()
Convert this TokenList into a comparable Phrase query.Phrase
TokenList. toPhrase(int offsetBase)
Convert this TokenList into a comparable Phrase query. -
Uses of Phrase in com.attivio.util
Methods in com.attivio.util that return Phrase Modifier and Type Method Description Phrase
TokenUtils.PositionBuffer. toPhrase(int offsetBase)
Phrase
TokenUtils.TokenBuffer. toPhrase(int offsetBase)
-
Uses of Phrase in com.attivio.util.parser
Classes in com.attivio.util.parser with type parameters of type Phrase Modifier and Type Class Description class
PhraseOperator<T extends Phrase>
Methods in com.attivio.util.parser that return Phrase Modifier and Type Method Description Phrase
QueryParsers. parsePhrase(ScopeTerm scope, StringParser reader)
Parse the nextPhrase
fromreader
.Phrase
QueryParsers. parsePhrase(java.lang.String op, int startOffset, ScopeTerm scope, StringParser reader)
Phrase
QueryParsers. parsePhraseTerm(ScopeTerm scope, java.lang.String text, StringParser reader)
Methods in com.attivio.util.parser with parameters of type Phrase Modifier and Type Method Description void
PhraseOperator. addTerm(QueryParsers parser, T phrase, Phrase term)
void
QueryOperators.OrPhraseOperator. addTerm(QueryParsers parser, PhraseOr phrase, Phrase term)
void
QueryOperators.PhraseNearParser. addTerm(QueryParsers parser, PhraseNear phrase, Phrase term)
-
Uses of Phrase in com.attivio.util.serialization.query.phrase
Methods in com.attivio.util.serialization.query.phrase with parameters of type Phrase Modifier and Type Method Description protected void
AbstractPhraseConverter. addParameters(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Phrase phrase)
protected void
AbstractPhraseConverter. getParameter(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, Phrase phrase)
protected void
AbstractPhraseConverter. getParameters(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, Phrase phrase)
-