Package | Description |
---|---|
com.attivio.sdk.search.fields |
Model for
FieldExpressions applied to
QueryRequests . |
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 into
TokenList s. |
com.attivio.sdk.token | |
com.attivio.util | |
com.attivio.util.parser |
Constructor and Description |
---|
PhraseMatch(String field,
Phrase phrase) |
PhraseScore(String field,
Phrase phrase) |
PhraseScore(String field,
Phrase phrase,
ScoreMode scoreMode) |
Modifier and Type | Method and Description |
---|---|
Phrase |
PhraseQuery.getPhrase() |
Modifier and Type | Method and Description |
---|---|
void |
PhraseQuery.setPhrase(Phrase value) |
Constructor and Description |
---|
PhraseQuery(Phrase... terms) |
PhraseQuery(Phrase phrase)
Create a query for matching
phrase in the default search field. |
PhraseQuery(String field,
Phrase... terms) |
PhraseQuery(String field,
Phrase phrase)
Create a query for matching
phrase in field . |
Modifier and Type | Class and 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 |
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.
|
Modifier and Type | Method and 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 |
ScopeFilter.getPhrase() |
Phrase |
AnchorFilter.getPhrase()
Get the phrase anchor filtering will be applied to.
|
Phrase |
ScopeBoost.getPhrase() |
Phrase |
ScopeBoost.getScope() |
Phrase |
PhraseHandler.handlePhrase(Phrase phrase)
Method called for handling an encountered
Phrase during traversal. |
Phrase |
PhraseNot.rewrite(PhraseHandler handler)
Recursively rewrite this phrase using
handler . |
Phrase |
PhraseNotIn.rewrite(PhraseHandler handler)
Recursively rewrite this phrase using
handler . |
Phrase |
ScopeFilter.rewrite(PhraseHandler handler)
Recursively rewrite this phrase using
handler . |
Phrase |
AnchorFilter.rewrite(PhraseHandler handler)
Recursively rewrite this phrase using
handler . |
Phrase |
Phrase.rewrite(PhraseHandler handler)
Recursively rewrite this phrase using
handler . |
Phrase |
ScopeBoost.rewrite(PhraseHandler handler)
Recursively rewrite this phrase using
handler . |
Phrase |
PhraseNot.rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase using
handler . |
Phrase |
PhraseNotIn.rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase using
handler . |
Phrase |
ScopeFilter.rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase using
handler . |
Phrase |
AnchorFilter.rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase using
handler . |
Phrase |
PhraseTerm.rewriteChildren(PhraseHandler handler) |
abstract Phrase |
Phrase.rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase using
handler . |
Phrase |
ScopeTerm.rewriteChildren(PhraseHandler handler) |
Phrase |
ScopeBoost.rewriteChildren(PhraseHandler handler)
Rewrite any children of this phrase using
handler . |
static Phrase[] |
Phrase.toArray(List<Phrase> terms)
Get an array of phrases from
terms . |
Modifier and Type | Method and Description |
---|---|
void |
PhraseOr.addTerm(Phrase term)
Add
term to this phrase. |
PhraseNear |
PhraseNear.append(Phrase... terms) |
PhraseNear |
PhraseNear.append(Phrase term) |
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 from
other . |
static AnchorFilter |
AnchorFilter.endswith(Phrase phrase) |
static AnchorFilter |
AnchorFilter.equals(Phrase phrase) |
Phrase |
PhraseHandler.handlePhrase(Phrase phrase)
Method called for handling an encountered
Phrase 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 |
ScopeFilter.setPhrase(Phrase value) |
void |
AnchorFilter.setPhrase(Phrase value)
Set the phrase anchor filtering will be applied to.
|
void |
ScopeBoost.setPhrase(Phrase value) |
void |
ScopeBoost.setScope(Phrase value) |
static AnchorFilter |
AnchorFilter.startswith(Phrase phrase) |
Modifier and Type | Method and Description |
---|---|
static Phrase[] |
Phrase.toArray(List<Phrase> terms)
Get an array of phrases from
terms . |
Constructor and Description |
---|
AnchorFilter(AnchorFilter.AnchorMode mode,
Phrase phrase)
Constructor.
|
PhraseNear(Phrase... terms)
Constructor
|
PhraseNear(Phrase[] terms,
int offset,
int length)
Constructor
|
PhraseNot(Phrase includePhrase,
Phrase excludePhrase)
Constructor.
|
PhraseNotIn(Phrase includePhrase,
Phrase excludePhrase)
Constructor.
|
PhraseOr(Phrase... terms)
Constructor
|
PhraseOr(Phrase term1,
Phrase term2)
Constructor
|
ScopeBoost(Phrase phrase,
Phrase scope)
Constructor.
|
ScopeBoost(Phrase phrase,
String scope)
Constructor.
|
ScopeFilter(ScopeTerm scope,
Phrase phrase)
Constructor.
|
ScopeFilter(String scope,
Phrase phrase)
Constructor.
|
Constructor and Description |
---|
PhraseNear(List<Phrase> terms)
Constructor
|
PhraseOr(List<Phrase> terms)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Phrase |
Tokenizer.tokenize(SchemaField field,
Locale locale,
SearchTerm term)
Tokenizes
term into a Phrase for query processing. |
Phrase |
Tokenizer.tokenize(SchemaField field,
Locale locale,
TermRange range)
Tokenizes
range into a Phrase for query processing. |
Phrase |
Tokenizer.tokenize(SchemaField field,
Locale locale,
WildcardTerm term)
Tokenizes a wildcard
term into a Phrase for query processing. |
Modifier and Type | Method and Description |
---|---|
Phrase |
Token.toPhrase()
Convert this token into a suitable Phrase query.
|
Phrase |
TokenList.toPhrase()
Convert this TokenList into a comparable Phrase query.
|
Phrase |
Position.toPhrase() |
Phrase |
Token.toPhrase(int offsetBase)
Convert this token into a suitable Phrase query.
|
Phrase |
TokenList.toPhrase(int offsetBase)
Convert this TokenList into a comparable Phrase query.
|
Phrase |
Position.toPhrase(int offsetBase) |
Modifier and Type | Method and Description |
---|---|
Phrase |
TokenUtils.PositionBuffer.toPhrase(int offsetBase) |
Phrase |
TokenUtils.TokenBuffer.toPhrase(int offsetBase) |
Modifier and Type | Class and Description |
---|---|
class |
PhraseOperator<T extends Phrase> |
Modifier and Type | Method and Description |
---|---|
Phrase |
QueryParsers.parsePhrase(ScopeTerm scope,
StringParser reader)
Parse the next
Phrase from reader . |
Phrase |
QueryParsers.parsePhrase(String op,
int startOffset,
ScopeTerm scope,
StringParser reader)
|
Phrase |
QueryParsers.parsePhraseTerm(ScopeTerm scope,
String text,
StringParser reader) |
Modifier and Type | Method and Description |
---|---|
void |
QueryOperators.PhraseNearParser.addTerm(QueryParsers parser,
PhraseNear phrase,
Phrase term) |
void |
QueryOperators.OrPhraseOperator.addTerm(QueryParsers parser,
PhraseOr phrase,
Phrase term) |
void |
PhraseOperator.addTerm(QueryParsers parser,
T phrase,
Phrase term) |
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.