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()
SuggestedSpellingOptionsIf
getLimit
in interface SuggestedSpellingOptionsIf
public void setLimit(int limit)
SuggestedSpellingOptionsIf
setLimit
in interface SuggestedSpellingOptionsIf
limit
- the limit to setpublic int getLanguageId()
SuggestedSpellingOptionsIf
getLanguageId
in interface SuggestedSpellingOptionsIf
public void setLanguageId(int languageId)
SuggestedSpellingOptionsIf
setLanguageId
in interface SuggestedSpellingOptionsIf
languageId
- the languageId to setpublic java.lang.String getLanguageCode()
SuggestedSpellingOptionsIf
getLanguageCode
in interface SuggestedSpellingOptionsIf
public void setLanguageCode(java.lang.String languageCode)
SuggestedSpellingOptionsIf
setLanguageCode
in interface SuggestedSpellingOptionsIf
languageCode
- the languageCode to setpublic java.lang.String getSearchText()
SuggestedSpellingOptionsIf
getSearchText
in interface SuggestedSpellingOptionsIf
public void setSearchText(java.lang.String searchText)
SuggestedSpellingOptionsIf
setSearchText
in interface SuggestedSpellingOptionsIf
searchText
- the searchText to setpublic java.lang.String getCatalogId()
SuggestedSpellingOptionsIf
getCatalogId
in interface SuggestedSpellingOptionsIf
public void setCatalogId(java.lang.String catalogId)
SuggestedSpellingOptionsIf
setCatalogId
in interface SuggestedSpellingOptionsIf
catalogId
- the catalogId to setCopyright © 2018 DS Data Systems UK Ltd.