File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ export default defineComponent({
162162 // So you can pass any parameters supported by the search endpoint below.
163163 // queryBy is required.
164164 additionalSearchParameters: {
165+ exhaustive_search: true ,
165166 query_by: this .currentCollection .fields
166167 .filter (
167168 (f ) => f .index && [' string' , ' string[]' ].includes (f .type )
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ export default defineComponent({
9696 sort_by: ' num_employees:desc' ,
9797 page: 1 ,
9898 per_page: 10 ,
99+ exhaustive_search: true ,
99100 } as Typesense .SearchParameters ,
100101 jsonError: null as string | null ,
101102 results: null as any ,
Original file line number Diff line number Diff line change @@ -213,15 +213,13 @@ declare namespace NodeJS {
213213}
214214
215215declare module 'typesense-instantsearch-adapter' {
216- import { TypesenseNode } from 'typesense' ;
216+ import { SearchParameters , TypesenseNode } from 'typesense' ;
217217 export interface TypesenseInstantSearchAdapterOptions {
218218 server : {
219219 apiKey : string ;
220220 nodes : TypesenseNode [ ] ;
221221 } ;
222- additionalSearchParameters : {
223- query_by : string ;
224- } ;
222+ additionalSearchParameters : SearchParameters ;
225223 }
226224
227225 export class TypesenseInstantSearchAdapter {
You can’t perform that action at this time.
0 commit comments