Usage
Parameters
Theconfigure widget accepts any valid Algolia search parameter.
Number of hits per page.
Enable or disable the distinct feature. Can be a boolean or an integer.
Filter hits by facet value.
Force faceting to be applied after deduplication.
List of attributes to snippet, with an optional maximum number of words to snippet.
String used as an ellipsis indicator when a snippet is truncated.
Restrict which attributes can be searched.
Enable or disable typo tolerance.
Minimum number of characters a word must contain to allow one typo.
Minimum number of characters a word must contain to allow two typos.
Whether to allow typos on numeric tokens.
Remove plurals from queries.
Disable typo tolerance on specific attributes.
Controls how the query is interpreted (prefixAll, prefixLast, prefixNone).
Strategy to remove words from the query when no results are found.
Enable advanced query syntax.
List of words that should be considered optional when found in the query.
Remove stop words from the query.
Controls how exact matches are ranked.
List of alternatives that should be considered as exact.
Examples
Basic configuration
Advanced filtering
Typo tolerance settings
Query behavior
Notes
- This is a renderless widget that doesn’t display any UI.
- Multiple
configurewidgets can be used, but parameters from the last one take precedence. - All search parameters are forwarded to the Algolia search.
- Parameters are only active while the widget is mounted.