You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
875: Changes related to the next MeiliSearch release (v0.21.0) r=bidoubiwa a=meili-bot
Related to this issue: meilisearch/integration-guides#117
This PR:
- gathers the changes related to the next MeiliSearch release (v0.21.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases). Until there is an RC version, the tests should be valid against the [alpha versions of transplant](https://github.com/meilisearch/transplant/releases).
- might eventually contain test failures until the MeiliSearch v0.21.0 is out.
⚠️ This PR should NOT be merged until the next release of MeiliSearch (v0.21.0) is out.
_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/master/guides/pre-release-week.md) purpose. Exceptionally for this release, the pre-release time will be more than just one week._
Co-authored-by: meili-bot <[email protected]>
Co-authored-by: cvermand <[email protected]>
Co-authored-by: Charlotte Vermandel <[email protected]>
Co-authored-by: Clémentine Urquizar <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+23-12Lines changed: 23 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ import { MeiliSearch } from 'meilisearch'
166
166
})()
167
167
```
168
168
169
-
With the `updateId`, you can check the status (`enqueued`, `processed` or `failed`) of your documents addition using the [update endpoint](https://docs.meilisearch.com/reference/api/updates.html#get-an-update-status).
169
+
With the `updateId`, you can check the status (`enqueued`, `processing`, `processed` or `failed`) of your documents addition using the [update endpoint](https://docs.meilisearch.com/reference/api/updates.html#get-an-update-status).
170
170
171
171
#### Basic Search <!-- omit in toc -->
172
172
@@ -202,9 +202,8 @@ All the supported options are described in the [search parameters](https://docs.
202
202
```javascript
203
203
awaitindex.search(
204
204
'wonder',
205
-
{
206
205
attributesToHighlight: ['*'],
207
-
filters:'id >= 1'
206
+
filter:'id >= 1'
208
207
}
209
208
)
210
209
```
@@ -239,7 +238,7 @@ Placeholder search makes it possible to receive hits based on your parameters wi
239
238
awaitindex.search(
240
239
'',
241
240
{
242
-
facetFilters: ['genres:fantasy'],
241
+
filter: ['genres = fantasy'],
243
242
facetsDistribution: ['genres']
244
243
}
245
244
)
@@ -266,11 +265,8 @@ await index.search(
266
265
"query": "",
267
266
"facetsDistribution": {
268
267
"genres": {
269
-
"Drama": 0,
270
268
"Action": 2,
271
-
"Science Fiction": 0,
272
269
"Fantasy": 1,
273
-
"Romance": 0,
274
270
"Adventure": 1
275
271
}
276
272
}
@@ -284,7 +280,7 @@ You can abort a pending search request by providing an [AbortSignal](https://dev
284
280
const controller = new AbortController()
285
281
286
282
index
287
-
.search('wonder', {}, 'POST', {
283
+
.search('wonder', {}, {
288
284
signal: controller.signal,
289
285
})
290
286
.then((response) => {
@@ -299,7 +295,7 @@ controller.abort()
299
295
300
296
## 🤖 Compatibility with MeiliSearch
301
297
302
-
This package only guarantees the compatibility with the [version v0.20.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.20.0).
298
+
This package only guarantees the compatibility with the [version v0.21.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.21.0).
303
299
304
300
## 💡 Learn More
305
301
@@ -324,7 +320,11 @@ If you want to know more about the development workflow or want to contribute, p
0 commit comments