public static class TextNode.TextProcessingOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TextNode.TextProcessingOptions.MatchingMode
Specifies how to match the node with regards to the "standard" forms
(exact, lowercase, normalize)
|
Modifier and Type | Field and Description |
---|---|
boolean |
advancedPatternSearchTokenization
Consider * and ? as non-tokenizable characters for advanced pattern search
|
ModuleConfigs.Approximate |
approximate
approximate parameters
|
static int |
DEFAULT_PATTERN_MAX_MATCHES |
boolean |
disableExpansion
Should all expansion be disabled on this node, even if this node
is included in a context that would allow expansion ?
|
boolean |
fetchWordCounts
Should word counts be fetched for this node ?
|
boolean |
fromGroup
Is this node coming from a group in parenthesis
|
boolean |
isPhrase
Is this node forming a sequence ?
|
boolean |
isPrefix
Perform prefix match
This is not used anymore but possibly uccessed in custom code
Don't remove!
|
boolean |
isSuffix
Perform suffix match
This is not used anymore but possibly accessed in custom code
Don't remove!
|
int |
lang |
java.util.ArrayList<ModuleConfigs.Base> |
linguisticExpansions
Linguistic expansions to apply to this node with their
configuration.
The behaviour of the standard expansion handler (@see com.exalead.search.queryprocessing.linguistic) is to only perform expansions that are present in this list. How this list is built is not specified by the expansion handling mechanism. |
TextNode.TextProcessingOptions.MatchingMode |
matchingMode |
int |
matchingModeKind |
int |
patternMaxMatches
If the node is a pattern, max number of pattern matches
|
boolean |
performIndexBasedPrefixExpansion |
boolean |
subjectToStopWords
Should stop words be handled on this node ?
|
boolean |
tokenize
Should this node be tokenized ?
|
boolean |
useForHighlight
Should this node be used for highlighting/summary ?
|
boolean |
useForSpellCheck
Should this node be used for spellcheck ?
|
double |
weight |
Constructor and Description |
---|
TextProcessingOptions()
Construct default processing options
|
TextProcessingOptions(TextNode.TextProcessingOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLang() |
int |
getLangCode() |
boolean |
isExact() |
boolean |
mustExpanse() |
boolean |
mustSpellCheck() |
boolean |
mustTokenize() |
void |
setExact() |
void |
setLang(java.lang.String lang) |
int |
setLangCode(int lang) |
public static final int DEFAULT_PATTERN_MAX_MATCHES
public int lang
public boolean fetchWordCounts
public boolean subjectToStopWords
public boolean tokenize
public boolean advancedPatternSearchTokenization
public boolean disableExpansion
public boolean useForSpellCheck
public boolean useForHighlight
public boolean isPhrase
public boolean fromGroup
public boolean performIndexBasedPrefixExpansion
public double weight
public int patternMaxMatches
public boolean isSuffix
public boolean isPrefix
public ModuleConfigs.Approximate approximate
public TextNode.TextProcessingOptions.MatchingMode matchingMode
public int matchingModeKind
public java.util.ArrayList<ModuleConfigs.Base> linguisticExpansions
public TextProcessingOptions()
public TextProcessingOptions(TextNode.TextProcessingOptions other)
public void setLang(java.lang.String lang)
public java.lang.String getLang()
public int setLangCode(int lang)
public int getLangCode()
public void setExact()
public boolean isExact()
public boolean mustSpellCheck()
public boolean mustTokenize()
public boolean mustExpanse()
Copyright © 2013 Dassault Systèmes, All Rights Reserved.