public interface SuggestedSearchOptionsIf
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 a suggested search
list for each catalog, then it is used to look up from a list of suggested search items that
are available for that catalog.
|
java.lang.String |
getEndTag()
HTML end tag for search string.
|
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
|
java.lang.String |
getStartTag()
HTML start tag for search string.
|
int |
getTopLevelCategoryId()
When set to a number greater than 0, it limits results to products within the category tree
where the top level category is defined by this id.
|
boolean |
isReturnRawText()
When set to true, the raw text attribute of the suggested search item contains a value,
otherwise it is null.
|
boolean |
isReturnRichText()
When set to true, the results are returned with formatting to highlight the search string
within the results.
|
void |
setCatalogId(java.lang.String catalogId)
If the catalog id is set to a valid value and Solr is configured to create a suggested search
list for each catalog, then it is used to look up from a list of suggested search items that
are available for that catalog.
|
void |
setEndTag(java.lang.String endTag)
HTML end tag for search string.
|
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 |
setReturnRawText(boolean returnRawText)
When set to true, the raw text attribute of the suggested search item contains a value,
otherwise it is null.
|
void |
setReturnRichText(boolean returnRichText)
When set to true, the results are returned with formatting to highlight the search string
within the results.
|
void |
setSearchText(java.lang.String searchText)
Search Text
|
void |
setStartTag(java.lang.String startTag)
HTML start tag for search string.
|
void |
setTopLevelCategoryId(int topLevelCategoryId)
When set to a number greater than 0, it limits results to products within the category tree
where the top level category is defined by this id.
|
int getLimit()
void setLimit(int limit)
limit
- the limit to setjava.lang.String getSearchText()
void setSearchText(java.lang.String searchText)
searchText
- the searchText to setboolean isReturnRichText()
void setReturnRichText(boolean returnRichText)
returnRichText
- the returnRichText to setboolean isReturnRawText()
void setReturnRawText(boolean returnRawText)
returnRawText
- the returnRawText to setjava.lang.String getStartTag()
void setStartTag(java.lang.String startTag)
startTag
- the startTag to setjava.lang.String getEndTag()
void setEndTag(java.lang.String endTag)
endTag
- the endTag to setjava.lang.String getLanguageCode()
void setLanguageCode(java.lang.String languageCode)
languageCode
- the languageCode to setint getLanguageId()
void setLanguageId(int languageId)
languageId
- the languageId to setjava.lang.String getCatalogId()
void setCatalogId(java.lang.String catalogId)
catalogId
- the catalogId to setint getTopLevelCategoryId()
void setTopLevelCategoryId(int topLevelCategoryId)
topLevelCategoryId
- the topLevelCategoryId to setCopyright © 2018 DS Data Systems UK Ltd.