Package org.apache.solr.spelling.suggest
Interface SuggesterParams
- All Known Implementing Classes:
SuggestComponent
public interface SuggesterParams
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhether all terms are required or notstatic final StringWhether to build the index or not.static final StringWhether to build the index or not for all suggesters in the component.static final StringcontextFilterQuery to use for filtering the result of the suggestionstatic final StringThe count of suggestions to return for each query term not in the index and/or dictionary.static final StringThe name of the dictionary to be used for giving the suggestion for a request.static final StringWhether keyword should be highlighted in result or notstatic final Stringstatic final StringUse the value for this parameter as the query to spell check.static final StringWhether to reload the index.static final StringWhether to reload the index or not for all suggesters in the component.
-
Field Details
-
SUGGEST_PREFIX
- See Also:
-
SUGGEST_DICT
The name of the dictionary to be used for giving the suggestion for a request. The value for this parameter is configured in solrconfig.xml- See Also:
-
SUGGEST_COUNT
The count of suggestions to return for each query term not in the index and/or dictionary.If this parameter is absent in the request then only one suggestion is returned. If it is more than one then a maximum of given suggestions are returned for each token in the query.
- See Also:
-
SUGGEST_Q
Use the value for this parameter as the query to spell check.This parameter is optional. If absent, then the q parameter is used.
- See Also:
-
SUGGEST_BUILD
Whether to build the index or not. Optional and false by default.- See Also:
-
SUGGEST_BUILD_ALL
Whether to build the index or not for all suggesters in the component. Optional and false by default. This parameter does not need any suggest dictionary names to be specified- See Also:
-
SUGGEST_RELOAD
Whether to reload the index. Optional and false by default.- See Also:
-
SUGGEST_RELOAD_ALL
Whether to reload the index or not for all suggesters in the component. Optional and false by default. This parameter does not need any suggest dictionary names to be specified- See Also:
-
SUGGEST_CONTEXT_FILTER_QUERY
contextFilterQuery to use for filtering the result of the suggestion- See Also:
-
SUGGEST_HIGHLIGHT
Whether keyword should be highlighted in result or not- See Also:
-
SUGGEST_ALL_TERMS_REQUIRED
Whether all terms are required or not- See Also:
-