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
250: Changes related to the next MeiliSearch release (v0.21.0) r=alallema 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._
Done:
- Update README #286
- Rename `attributes_for_faceting` into `filterable_attributes` #287#292
- Update `WaitForPendingUpdate` status #288
- Adapts tests according to v0.21.0 breaking changes #289
- Rename fields `buildDate` into `commitDate`
- Update `rankingRules`
- `exhaustiveFacetsCount` return `False`
- Add missing tests according to new features #290
- Phrase search tests
- Filter/facet on number is now doable
- Test the syntax on Filter array and string
- Update code sample file #291#293
Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Clémentine Urquizar <[email protected]>
Co-authored-by: Amélie <[email protected]>
Co-authored-by: alallema <[email protected]>
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).
90
+
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).
91
91
92
92
#### Basic Search <!-- omit in toc -->
93
93
@@ -117,10 +117,9 @@ All the supported options are described in the [search parameters](https://docs.
117
117
118
118
```python
119
119
index.search(
120
-
'prince',
120
+
'hob',
121
121
{
122
-
'attributesToHighlight': ['title'],
123
-
'filters': 'book_id > 10'
122
+
'attributesToHighlight': ['*'],
124
123
}
125
124
)
126
125
```
@@ -131,24 +130,24 @@ JSON output:
131
130
{
132
131
"hits": [
133
132
{
134
-
"book_id": 456,
135
-
"title": "Le Petit Prince",
133
+
"book_id": 1344,
134
+
"title": "The Hobbit",
136
135
"_formatted": {
137
-
"book_id": 456,
138
-
"title": "Le Petit <em>Prince</em>"
136
+
"book_id": 1344,
137
+
"title": "The <em>Hob</em>bit"
139
138
}
140
139
}
141
140
],
142
141
"offset": 0,
143
142
"limit": 20,
144
-
"processingTimeMs": 10,
145
-
"query": "prince"
143
+
"processingTimeMs": 0,
144
+
"query": "hob"
146
145
}
147
146
```
148
147
149
148
## 🤖 Compatibility with MeiliSearch
150
149
151
-
This package only guarantees the compatibility with the [version v0.20.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.20.0).
150
+
This package only guarantees the compatibility with the [version v0.21.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.21.0).
List containing the attributes for faceting of the index
985
+
List containing the filterable attributes of the index
986
986
987
987
Raises
988
988
------
989
989
MeiliSearchApiError
990
990
An error containing details about why MeiliSearch can't process your request. MeiliSearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
An error containing details about why MeiliSearch can't process your request. MeiliSearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
An error containing details about why MeiliSearch can't process your request. MeiliSearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
0 commit comments