File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,15 @@ const searchClient = instantMeiliSearch(
76
76
77
77
## 💅 Customization
78
78
79
- InstantMeilisearch offers some options you can set to further fit your needs.
79
+ ` instant-meilisearch ` offers some options you can set to further fit your needs.
80
+
81
+ - [ ` placeholderSearch ` ] ( #placeholder-search ) : Enable or disable placeholder search (default: ` true ` ).
82
+ - [ ` paginationTotalHits ` ] ( #pagination-total-hits ) : Maximum total number of hits to create a finite pagination (default: ` 200 ` ).
83
+ - [ ` primaryKey ` ] ( #primary-key ) : Specify the primary key of your documents (default ` undefined ` ).
84
+ - [ ` keepZeroFacets ` ] ( #keep-zero-facets ) : Show the facets value even when they have 0 matches (default ` false ` ).
85
+
86
+ The options are added as the third parameter of the ` instantMeilisearch ` function.
80
87
81
- The options are added as the third parameter of the ` instantMeilisearch ` function
82
88
``` js
83
89
import { instantMeiliSearch } from ' @meilisearch/instant-meilisearch'
84
90
@@ -126,7 +132,7 @@ Specify the field in your documents containing the [unique identifier](https://d
126
132
{ primaryKey : ' id' } // default: undefined
127
133
```
128
134
129
- ### keepZeroFacets
135
+ ### Keep zero facets
130
136
131
137
` keepZeroFacets ` set to ` true ` keeps the facets even when they have 0 matching documents (default ` false ` ).
132
138
You can’t perform that action at this time.
0 commit comments