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
214: Changes related to the next MeiliSearch release (v0.25.0) r=curquiza a=meili-bot
Related to this issue: meilisearch/integration-guides#157
This PR:
- gathers the changes related to the next MeiliSearch release (v0.25.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).
- might eventually contain test failures until the MeiliSearch v0.25.0 is out.
⚠️ This PR should NOT be merged until the next release of MeiliSearch (v0.25.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._
Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Clémentine Urquizar - curqui <[email protected]>
Co-authored-by: Tamo <[email protected]>
Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Co-authored-by: Irevoire <[email protected]>
Co-authored-by: Clémentine Urquizar <[email protected]>
Movie { id:1, title:String::from("Carol"), genres:vec!["Romance".to_string(), "Drama".to_string()]},
121
+
Movie { id:2, title:String::from("Wonder Woman"), genres:vec!["Action".to_string(), "Adventure".to_string()]},
122
+
Movie { id:3, title:String::from("Life of Pi"), genres:vec!["Adventure".to_string(), "Drama".to_string()]},
123
+
Movie { id:4, title:String::from("Mad Max"), genres:vec!["Adventure".to_string(), "Science Fiction".to_string()]},
124
+
Movie { id:5, title:String::from("Moana"), genres:vec!["Fantasy".to_string(), "Action".to_string()]},
125
+
Movie { id:6, title:String::from("Philadelphia"), genres:vec!["Drama".to_string()]},
126
126
], Some("id")).await.unwrap();
127
127
})}
128
128
```
129
129
130
+
With the `uid`, you can check the status (`enqueued`, `processing`, `succeeded` or `failed`) of your documents addition using the [task](https://docs.meilisearch.com/reference/api/tasks.html#get-task).
Note that Meilisearch will rebuild your index whenever you update `filterableAttributes`. Depending on the size of your dataset, this might take time. You can track the process using the [tasks](https://docs.meilisearch.com/reference/api/tasks.html#get-task)).
203
209
204
210
Then, you can perform the search:
205
211
206
212
```rust
207
-
println!("{:?}", client.index("movies").search().with_query("wonder").with_filter("id > 1 AND genres = Action")
208
-
.execute::<Movie>().await.unwrap().hits);
213
+
letsearch_result=client.index("movies_5")
214
+
.search()
215
+
.with_query("wonder")
216
+
.with_filter("id > 1 AND genres = Action")
217
+
.execute::<Movie>()
218
+
.await
219
+
.unwrap();
220
+
println!("{:?}", search_result.hits);
209
221
```
210
222
211
223
Json output:
@@ -238,7 +250,7 @@ WARNING: `meilisearch-sdk` will panic if no Window is available (ex: Web extensi
238
250
239
251
## 🤖 Compatibility with Meilisearch
240
252
241
-
This package only guarantees the compatibility with the [version v0.24.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.24.0).
253
+
This package only guarantees the compatibility with the [version v0.25.0 of MeiliSearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.25.0).
Copy file name to clipboardExpand all lines: README.tpl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ WARNING: `meilisearch-sdk` will panic if no Window is available (ex: Web extensi
97
97
98
98
## 🤖 Compatibility with Meilisearch
99
99
100
-
This package only guarantees the compatibility with the [version v0.24.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.24.0).
100
+
This package only guarantees the compatibility with the [version v0.25.0 of MeiliSearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.25.0).
0 commit comments