public class SearchParameters extends Object
Represents parameters for searching.
Constructor and Description |
---|
SearchParameters()
Initializes a new instance of the
SearchParameters class. |
Modifier and Type | Method and Description |
---|---|
DateFormatCollection |
getDateFormats()
Gets or sets date formats for date range search.
|
FuzzySearchParameters |
getFuzzySearch()
Gets or sets Fuzzy search parameters.
|
KeyboardLayoutCorrectorParameters |
getKeyboardLayoutCorrector()
Gets or sets Keyboard Layout Corrector parameters.
|
int |
getMaxHitCountPerTerm()
Gets or sets maximal count of occurrences of each term in query.
|
int |
getMaxTotalHitCount()
Gets or sets maximal count of total occurrences of all terms in query.
|
SpellingCorrectorParameters |
getSpellingCorrector()
Gets or sets Spelling Corrector parameters.
|
boolean |
getUseCaseSensitiveSearch()
Gets or sets flag of case sensitive search.
|
boolean |
getUseHomophoneSearch()
Gets or sets flag of use homophones in search.
|
boolean |
getUseSynonymSearch()
Gets or sets flag of use synonyms in search.
|
boolean |
getUseWordFormsSearch()
Gets or sets flag of use word forms in search.
|
boolean |
isChunkSearch()
Gets or sets flag of searching by chunks.
|
void |
setChunkSearch(boolean value)
Gets or sets flag of searching by chunks.
|
void |
setMaxHitCountPerTerm(int value)
Gets or sets maximal count of occurrences of each term in query.
|
void |
setMaxTotalHitCount(int value)
Gets or sets maximal count of total occurrences of all terms in query.
|
void |
setUseCaseSensitiveSearch(boolean value)
Gets or sets flag of case sensitive search.
|
void |
setUseHomophoneSearch(boolean value)
Gets or sets flag of use homophones in search.
|
void |
setUseSynonymSearch(boolean value)
Gets or sets flag of use synonyms in search.
|
void |
setUseWordFormsSearch(boolean value)
Gets or sets flag of use word forms in search.
|
public SearchParameters()
Initializes a new instance of the SearchParameters
class.
public final boolean getUseSynonymSearch()
Gets or sets flag of use synonyms in search.
Value: Flag of use synonyms in search.public final void setUseSynonymSearch(boolean value)
Gets or sets flag of use synonyms in search.
Value: Flag of use synonyms in search.public final boolean getUseHomophoneSearch()
Gets or sets flag of use homophones in search.
Value: Flag of use homophones in search.public final void setUseHomophoneSearch(boolean value)
Gets or sets flag of use homophones in search.
Value: Flag of use homophones in search.public final boolean getUseWordFormsSearch()
Gets or sets flag of use word forms in search.
Value: Flag of use word forms in search.public final void setUseWordFormsSearch(boolean value)
Gets or sets flag of use word forms in search.
Value: Flag of use word forms in search.public final FuzzySearchParameters getFuzzySearch()
Gets or sets Fuzzy search parameters.
Value: The fuzzy search parameters.public final SpellingCorrectorParameters getSpellingCorrector()
Gets or sets Spelling Corrector parameters.
Value: The spelling corrector parameters.public final KeyboardLayoutCorrectorParameters getKeyboardLayoutCorrector()
Gets or sets Keyboard Layout Corrector parameters.
Value: The keyboard layout corrector parameters.public final boolean getUseCaseSensitiveSearch()
Gets or sets flag of case sensitive search.
Value: Flag of case sensitive search.public final void setUseCaseSensitiveSearch(boolean value)
Gets or sets flag of case sensitive search.
Value: Flag of case sensitive search.public final int getMaxTotalHitCount()
Gets or sets maximal count of total occurrences of all terms in query.
Value: The max count of hits.public final void setMaxTotalHitCount(int value)
Gets or sets maximal count of total occurrences of all terms in query.
Value: The max count of hits.public final int getMaxHitCountPerTerm()
Gets or sets maximal count of occurrences of each term in query.
Value: The max count of hits per term.public final void setMaxHitCountPerTerm(int value)
Gets or sets maximal count of occurrences of each term in query.
Value: The max count of hits per term.public final DateFormatCollection getDateFormats()
Gets or sets date formats for date range search.
Value: The date formats.public final boolean isChunkSearch()
Gets or sets flag of searching by chunks.
Value: Flag of searching by chunks.public final void setChunkSearch(boolean value)
Gets or sets flag of searching by chunks.
Value: Flag of searching by chunks.Copyright © 2019. All rights reserved.