public interface SearchConfig
Modifier and Type | Method and Description |
---|---|
int |
getFacetDisplayThreshold()
Treshold in percent for showing a facet.
|
int |
getFacetValueLimit()
To hide facets, which have values above this limit to control the size of the searchresponse.
|
int |
getNumericFiltersTolerance()
A value in percentage which determines the widening of a numeric-range used for filtering.
|
java.util.Collection<QueryField> |
getSearchQueryFields(java.lang.String language)
List of queryfields for search requests based on the configuration,
if necessary localized to the given language
|
java.util.Collection<QueryField> |
getSuggestQueryFields(java.lang.String language)
List of queryfields for suggest requests based on the configuration,
if necessary localized to the given language
|
java.util.Collection<QueryField> |
getSuggestQueryFields(java.lang.String language,
float minBoost)
List of queryfields for suggest requests based on the configuration,
if necessary localized to the given language.
|
boolean |
useFallbackQuery()
Enable fallback query.
|
java.util.Collection<QueryField> getSearchQueryFields(java.lang.String language)
language
- java.util.Collection<QueryField> getSuggestQueryFields(java.lang.String language)
language
- java.util.Collection<QueryField> getSuggestQueryFields(java.lang.String language, float minBoost)
language
- minBoost
- boolean useFallbackQuery()
SimpleFallbackSearchStrategy
,
which retries searching without the last search term. See implementations of FallbackSearchStrategy
int getFacetDisplayThreshold()
int getFacetValueLimit()
int getNumericFiltersTolerance()