🎉 Try the public beta of the new docs site at algolia.com/doc-beta! 🎉
UI libraries / Autocomplete / API reference

autocomplete-preset-algolia

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

getAlgoliaResults Retrieve Algolia results from one or several indices with autocomplete-preset-algolia.
getAlgoliaFacets Retrieve Algolia facet hits from one or several indices with autocomplete-preset-algolia.
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?