File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -47,18 +47,10 @@ For general information on how to use Meilisearch—such as our API reference, t
4747
4848We recommend installing ` meilisearch-js ` in your project with your package manager of choice.
4949
50- If you use ` npm ` :
51-
5250``` sh
5351npm install meilisearch
5452```
5553
56- If you prefer ` yarn ` :
57-
58- ``` sh
59- yarn add meilisearch
60- ```
61-
6254` meilisearch-js ` officially supports ` node ` versions >= 14 and <= 18.
6355
6456Instead of using a package manager, you may also import the library directly into your [ HTML via a CDN] ( #include-script-tag ) .
@@ -212,7 +204,7 @@ await index.search(
212204 "title" : " Wonder Woman" ,
213205 "genres" : [" Action" , " Adventure" ],
214206 "_formatted" : {
215- "id" : 2 ,
207+ "id" : " 2 " ,
216208 "title" : " <em>Wonder</em> Woman" ,
217209 "genres" : [" Action" , " Adventure" ]
218210 }
@@ -278,7 +270,7 @@ await index.search(
278270 ' ' ,
279271 {
280272 filter: [' genres = fantasy' ],
281- facetsDistribution : [' genres' ]
273+ facets : [' genres' ]
282274 }
283275)
284276```
You can’t perform that action at this time.
0 commit comments