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(
7676
7777## 💅 Customization
7878
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.
8087
81- The options are added as the third parameter of the ` instantMeilisearch ` function
8288``` js
8389import { instantMeiliSearch } from ' @meilisearch/instant-meilisearch'
8490
@@ -126,7 +132,7 @@ Specify the field in your documents containing the [unique identifier](https://d
126132{ primaryKey : ' id' } // default: undefined
127133```
128134
129- ### keepZeroFacets
135+ ### Keep zero facets
130136
131137` keepZeroFacets ` set to ` true ` keeps the facets even when they have 0 matching documents (default ` false ` ).
132138
You can’t perform that action at this time.
0 commit comments