Skip to content

Commit c2405ac

Browse files
bors[bot]meili-botcurquiza
authored
Merge #177
177: Changes related to the next MeiliSearch release (v0.23.0) r=curquiza a=meili-bot Related to this issue: meilisearch/integration-guides#142 This PR: - gathers the changes related to the next MeiliSearch release (v0.23.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.23.0 is out. ⚠️ This PR should NOT be merged until the next release of MeiliSearch (v0.23.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 <[email protected]>
2 parents 47fb585 + a8257bd commit c2405ac

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

.code-samples.meilisearch.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,3 +633,31 @@ search_parameter_guide_sort_1: |-
633633
.execute()
634634
.await
635635
.unwrap();
636+
geosearch_guide_filter_settings_1: |-
637+
let progress: Progress = restaurants.set_filterable_attributes(&["_geo"]).await.unwrap();
638+
geosearch_guide_filter_usage_1: |-
639+
let results: SearchResults<Restaurant> = restaurants.search()
640+
.with_filter("_geoRadius(45.4628328, 9.1076931, 2000)")
641+
.execute()
642+
.await
643+
.unwrap();
644+
geosearch_guide_filter_usage_2: |-
645+
let results: SearchResults<Restaurant> = restaurants.search()
646+
.with_filter("_geoRadius(45.4628328, 9.1076931, 2000) AND type = pizza")
647+
.execute()
648+
.await
649+
.unwrap();
650+
geosearch_guide_sort_settings_1: |-
651+
let progress: Progress = restaurants.set_sortable_attributes(&["_geo"]).await.unwrap();
652+
geosearch_guide_sort_usage_1: |-
653+
let results: SearchResults<Restaurant> = restaurants.search()
654+
.with_sort(&["_geoPoint(48.8583701,2.2922926):asc"])
655+
.execute()
656+
.await
657+
.unwrap();
658+
geosearch_guide_sort_usage_2: |-
659+
let results: SearchResults<Restaurant> = restaurants.search()
660+
.with_sort(&["_geoPoint(48.8583701,2.2922926):asc", "rating:desc"])
661+
.execute()
662+
.await
663+
.unwrap();

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ WARNING: `meilisearch-sdk` will panic if no Window is available (ex: Web extensi
140140

141141
## 🤖 Compatibility with MeiliSearch
142142

143-
This package only guarantees the compatibility with the [version v0.22.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.22.0).
143+
This package only guarantees the compatibility with the [version v0.23.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.23.0).
144144

145145
## ⚙️ Development Workflow and Contributing
146146

README.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ See our [Documentation](https://docs.meilisearch.com/learn/tutorials/getting_sta
4747

4848
## 🤖 Compatibility with MeiliSearch
4949

50-
This package only guarantees the compatibility with the [version v0.22.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.22.0).
50+
This package only guarantees the compatibility with the [version v0.23.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.23.0).
5151

5252
## ⚙️ Development Workflow and Contributing
5353

0 commit comments

Comments
 (0)