Skip to content

Commit 766f164

Browse files
authored
Merge branch 'main' into main
2 parents 5f406dd + c2405ac commit 766f164

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
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();

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Instead, update the `README.tpl` and `src/lib.rs` files, and run:
9292
sh scripts/update-readme.sh
9393
```
9494

95-
Then, add the generated `README.md` file to your git commit.
95+
Then, push the changed files.
9696

9797
You can check the current `README.md` is up-to-date by running:
9898

README.md

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

142142
## 🤖 Compatibility with MeiliSearch
143143

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

146146
## ⚙️ Development Workflow and Contributing
147147

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)