public class SuggestedSpellingOptions extends java.lang.Object implements SuggestedSpellingOptionsIf
| Constructor and Description |
|---|
SuggestedSpellingOptions()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCatalogId()
If the catalog id is set to a valid value and Solr is configured to create spelling
suggestions for each catalog, then it is used to look up from a list of spelling suggestions
items that are available for that catalog.
|
java.lang.String |
getLanguageCode()
If the language code is set to a valid value, this is used rather than the languageId which
improves performance since the language doesn't have to be looked up.
|
int |
getLanguageId()
Id of the language object to be used.
|
int |
getLimit()
Maximum number of results to return.
|
java.lang.String |
getSearchText()
Search Text
|
void |
setCatalogId(java.lang.String catalogId)
If the catalog id is set to a valid value and Solr is configured to create spelling
suggestions for each catalog, then it is used to look up from a list of spelling suggestions
items that are available for that catalog.
|
void |
setLanguageCode(java.lang.String languageCode)
If the language code is set to a valid value, this is used rather than the languageId which
improves performance since the language doesn't have to be looked up.
|
void |
setLanguageId(int languageId)
Id of the language object to be used.
|
void |
setLimit(int limit)
Maximum number of results to return.
|
void |
setSearchText(java.lang.String searchText)
Search Text
|
public int getLimit()
SuggestedSpellingOptionsIfgetLimit in interface SuggestedSpellingOptionsIfpublic void setLimit(int limit)
SuggestedSpellingOptionsIfsetLimit in interface SuggestedSpellingOptionsIflimit - the limit to setpublic int getLanguageId()
SuggestedSpellingOptionsIfgetLanguageId in interface SuggestedSpellingOptionsIfpublic void setLanguageId(int languageId)
SuggestedSpellingOptionsIfsetLanguageId in interface SuggestedSpellingOptionsIflanguageId - the languageId to setpublic java.lang.String getLanguageCode()
SuggestedSpellingOptionsIfgetLanguageCode in interface SuggestedSpellingOptionsIfpublic void setLanguageCode(java.lang.String languageCode)
SuggestedSpellingOptionsIfsetLanguageCode in interface SuggestedSpellingOptionsIflanguageCode - the languageCode to setpublic java.lang.String getSearchText()
SuggestedSpellingOptionsIfgetSearchText in interface SuggestedSpellingOptionsIfpublic void setSearchText(java.lang.String searchText)
SuggestedSpellingOptionsIfsetSearchText in interface SuggestedSpellingOptionsIfsearchText - the searchText to setpublic java.lang.String getCatalogId()
SuggestedSpellingOptionsIfgetCatalogId in interface SuggestedSpellingOptionsIfpublic void setCatalogId(java.lang.String catalogId)
SuggestedSpellingOptionsIfsetCatalogId in interface SuggestedSpellingOptionsIfcatalogId - the catalogId to setCopyright © 2018 DS Data Systems UK Ltd.