File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
packages/instant-meilisearch/src/client Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1212 "@meilisearch/react-playground" : " 0.0.0" ,
1313 "@meilisearch/vue3-ts-playground" : " 0.0.0"
1414 },
15- "changesets" : []
15+ "changesets" : [" sharp-wasps-exist " ]
1616}
Original file line number Diff line number Diff line change @@ -141,12 +141,22 @@ export function instantMeiliSearch(
141141
142142 const results = [ ]
143143 for ( const request of requests ) {
144+ const searchContext : SearchContext = createSearchContext (
145+ request ,
146+ instantMeiliSearchOptions
147+ )
148+
149+ const meilisearchSearchQuery = adaptSearchParams ( searchContext )
150+
144151 const index = request . indexName
145- const meilisearchRequest = {
152+ const meilisearchRequest : any = {
153+ ...meilisearchSearchQuery ,
146154 facetQuery : request . params . facetQuery ,
147155 facetName : request . params . facetName ,
148156 }
149157
158+ delete meilisearchRequest . indexUid
159+
150160 const meilisearchResponse = await meilisearchClient
151161 . index ( index )
152162 . searchForFacetValues ( meilisearchRequest )
You can’t perform that action at this time.
0 commit comments