SearchClientExt extension

on

Methods

searchForFacets({required List<SearchForFacets> requests, SearchStrategy? strategy, RequestOptions? requestOptions}) Future<Iterable<SearchForFacetValuesResponse>>
Calls the search method but with certainty that we will only request Algolia facets.
searchForHits({required List<SearchForHits> requests, SearchStrategy? strategy, RequestOptions? requestOptions}) Future<Iterable<SearchResponse>>
Calls the search method but with certainty that we will only request Algolia records (hits).
searchIndex({required SearchForHits request, RequestOptions? requestOptions}) Future<SearchResponse>
Perform a search operation targeting one index.