Skip to content

update updating.md #2058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -910,25 +910,26 @@ settings_guide_typo_tolerance_1: |-
}'
updating_guide_check_version_new_authorization_header: |-
curl \
-X GET 'http://localhost:7700/version' \
-X GET 'http://<your-domain-name>/version' \
-H 'Authorization: Bearer API_KEY'
updating_guide_check_version_old_authorization_header: |-
curl \
-X GET 'http://localhost:7700/version' \
-X GET 'http://<your-domain-name>/version' \
-H 'X-Meili-API-Key: API_KEY'
updating_guide_get_displayed_attributes_new: |-
updating_guide_get_displayed_attributes_old_authorization_header: |-
# whenever you see {index_uid}, replace it with your index's unique id
curl \
-X GET 'http://localhost:7700/indexes/{index_uid}/settings/displayed-attributes' \
-H 'Authorization: Bearer API_KEY'
updating_guide_reset_displayed_attributes_new: |-
-X GET 'http://<your-domain-name>/indexes/{index_uid}/settings/displayed-attributes' \
-H 'X-Meili-API-Key: API_KEY'
updating_guide_reset_displayed_attributes_old_authorization_header: |-
curl \
-X DELETE 'http://localhost:7700/indexes/{index_uid}/settings/displayed-attributes' \
-H 'Authorization: Bearer API_KEY'
-X DELETE 'http://<your-domain-name>/indexes/{index_uid}/settings/displayed-attributes' \
-H 'X-Meili-API-Key: API_KEY'
updating_guide_create_dump: |-
curl \
-X POST 'http://localhost:7700/dumps' \
-X POST 'http://<your-domain-name>/dumps' \
-H 'Authorization: Bearer API_KEY'
# -H 'X-Meili-API-Key: API_KEY' for v0.24 or below
getting_started_typo_tolerance: |-
curl \
-X PATCH 'http://localhost:7700/indexes/movies/settings/typo-tolerance' \
Expand Down
4 changes: 2 additions & 2 deletions .vuepress/public/sample-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ typo_tolerance_guide_4: |-
settings_guide_typo_tolerance_1: |-
updating_guide_check_version_new_authorization_header: |-
updating_guide_check_version_old_authorization_header: |-
updating_guide_get_displayed_attributes_new: |-
updating_guide_reset_displayed_attributes_new: |-
updating_guide_get_displayed_attributes_old_authorization_header: |-
updating_guide_reset_displayed_attributes_old_authorization_header: |-
updating_guide_create_dump: |-
getting_started_typo_tolerance: |-
settings_guide_pagination_1: |-
Expand Down
4 changes: 4 additions & 0 deletions learn/advanced/geosearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Meilisearch allows you to filter and sort results based on their geographic location. This can be useful when you only want results within a specific area or when sorting results based on their distance from a specific location.

::: danger `_geo` field in v0.27, v0.28, and v0.29
Due to Meilisearch allowing malformed `_geo` fields in the above-mentioned versions, please ensure the `_geo` field follows the correct format.
:::

## Preparing documents for location-based search

In order to start filtering and sorting documents based on their geographic location, you must make sure they contain a valid `_geo` field.
Expand Down
Loading