This feature allows you to show a suggest layer that suggest terms that start with the letters that have been typed into the search field
Sets the number of suggestions returned and displayed in the layer attached to the search field.
Sets the Solr index field used to get suggestions from. A general advice is to use a field without stemming on it. For practical reasons this is currently the spell checker field.
Note: With EXT:solr 11.1.0 ASCII folding and language depending normalization filters were introduced, but due to the special behaviour of the auto suggestions ascii-terms were not treated correctly. So with 11.1.3 the untouched tokens are also kept, as this might lead to duplicate
suggestions, a new field for exact suggestions is introduced, if you want to avoid duplicates and use stricter suggestions, just configure
spellExact as suggest field.
If enabled, HTTPS will be used for querying suggestions. Otherwise HTTP will be used.
|Since:||1.4 / 1.7-dkd|
When a user types multiple words into your search field they usually are split up into full keywords used in the query’s q parameter and the last part being the partial keyword in the facet.prefix parameter. Enabling this setting moves everything into the facet.prefix parameter. This is usually only useful when using a string field as suggest / auto-complete source field.
Example - Here “Hello Solr” are the full keywords and the user started typing “World” so that “Wo” is used as the partial keyword:
“Hello Solr Wo” -> q=Hello Solr, facet.prefix=Wo (default) “Hello Solr Wo” -> q=<empty>, facet.prefix=Hello Solr Wo (treatMultipleTermsAsSingleTerm)
When this setting is enabled, the top results are shown in the suggest layer. The top results are build from the first search match, or when the first search delivers no hit, the results from the first suggestion are shown.
Defines the number of top results that will be shown.
Comma-separated list of fields that should be added to the top results response json.