UI Libraries / Autocomplete / autocomplete-preset-algolia

autocomplete-preset-algolia

The Algolia preset provides fetching and highlighting utilities for usage with Algolia.

getAlgoliaResults Retrieves Algolia results from multiple indices.
getAlgoliaFacets Retrieves Algolia facet hits from multiple indices.
parseAlgoliaHitHighlight Returns the highlighted parts of an Algolia hit.
parseAlgoliaHitSnippet Returns the highlighted parts of an Algolia hit's snippet.
parseAlgoliaHitReverseHighlight Returns the highlighted non-matching parts of an Algolia hit.
parseAlgoliaHitReverseSnippet Returns the non-matching parts of an Algolia hit snippet.

Did you find this page helpful?