public class SpellDictionaryInfo extends DerivedDictionaryInfo
Modifier and Type | Class and Description |
---|---|
static class |
SpellDictionaryInfo.SpellDictionaryMode |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_TERM_LENGTH |
static int |
DEFAULT_MIN_TERM_FREQUENCY |
static int |
DEFAULT_MIN_TERM_LENGTH |
static SpellDictionaryInfo.SpellDictionaryMode |
DEFAULT_MODE |
Constructor and Description |
---|
SpellDictionaryInfo() |
SpellDictionaryInfo(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameters(StringBuilder buffer)
Add any parameters to string representation.
|
SpellDictionaryInfo |
clone() |
boolean |
equals(Object other) |
int |
getMaxTermLength()
Get maximum term length for terms extracted from the index.
|
int |
getMinTermFrequency()
Get the minimum term frequency for terms extracted from the index.
|
int |
getMinTermLength()
Get minimum term length for terms extracted from the index.
|
SpellDictionaryInfo.SpellDictionaryMode |
getMode()
Get the
mode used to extract a spellcheck dictionary from the index. |
int |
hashCode() |
boolean |
isAllowNumericTerms()
Get if numeric terms will be extracted from the index.
|
void |
setAllowNumericTerms(boolean value)
Set if numeric terms will be extracted from the index.
|
void |
setMaxTermLength(int value)
Get maximum term length for terms extracted from the index.
|
void |
setMinTermFrequency(int value)
Get the minimum term frequency for terms extracted from the index.
|
void |
setMinTermLength(int value)
Set minimum term length for terms extracted from the index.
|
void |
setMode(SpellDictionaryInfo.SpellDictionaryMode value)
Set the
mode used to extract a spellcheck dictionary from the index. |
getDefaultLocale, getDerivedFields, getLanguageField, getQuery, setDefaultLocale, setDerivedFields, setLanguageField, setQuery
getName, isCaseSensitive, isCompiled, isPublished, isPunctuationSensitive, setCaseSensitive, setCompiled, setName, setPublished, setPunctuationSensitive, toString
public static final SpellDictionaryInfo.SpellDictionaryMode DEFAULT_MODE
public static final int DEFAULT_MAX_TERM_LENGTH
public static final int DEFAULT_MIN_TERM_LENGTH
public static final int DEFAULT_MIN_TERM_FREQUENCY
public SpellDictionaryInfo()
public SpellDictionaryInfo(String name)
public SpellDictionaryInfo.SpellDictionaryMode getMode()
mode
used to extract a spellcheck dictionary from the index.public void setMode(SpellDictionaryInfo.SpellDictionaryMode value)
mode
used to extract a spellcheck dictionary from the index.public int getMinTermLength()
Terms that are shorter than this length will be ignored.
Only used for SpellDictionaryInfo.SpellDictionaryMode.DERIVED
dictionaries.
public void setMinTermLength(int value)
public int getMaxTermLength()
Terms that are longer than this length will be ignored.
Only used for SpellDictionaryInfo.SpellDictionaryMode.DERIVED
dictionaries.
public void setMaxTermLength(int value)
public boolean isAllowNumericTerms()
If false
terms with numbers in them will be ignored.
Only used for SpellDictionaryInfo.SpellDictionaryMode.DERIVED
dictionaries.
public void setAllowNumericTerms(boolean value)
public int getMinTermFrequency()
Terms with a term frequency less than this value will be ignored.
Only used for SpellDictionaryInfo.SpellDictionaryMode.DERIVED
dictionaries.
public void setMinTermFrequency(int value)
protected void addParameters(StringBuilder buffer)
DictionaryInfo
addParameters
in class DerivedDictionaryInfo
public int hashCode()
hashCode
in class DerivedDictionaryInfo
public boolean equals(Object other)
equals
in class DerivedDictionaryInfo
public SpellDictionaryInfo clone()
clone
in class DerivedDictionaryInfo
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.