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
Add the new settings: proximityPrecision with get, update, and reset methods associated.
Here are the JS equivalents in meilisearch-js you should create for this repository:
client.index('indexName').getProximityPrecision();// calls GET /indexes/:uid/settings/proximity-precisionclient.index('indexName').updateProximityPrecision('byAttribute');// calls PUT /indexes/:uid/settings/proximity-precisionclient.index('indexName').resetProximityPrecision();// calls DELETE /indexes/:uid/settings/proximity-precision
The methods associated with the /settings API route (to get, reset and update the settings globally) must be able to receive in the payload the new proximityPrecision field
Thanks for your interest in this project 🔥 You are definitely more than welcome to open a PR for this!
For your information, we prefer not assigning people to our issues because sometimes people ask to be assigned and never come back, which discourages the volunteer contributors from opening a PR to fix this issue.
We will accept and merge the first PR that fixes correctly and well implements the issue following our contributing guidelines.
971: Add proximityPrecision setting r=sanders41 a=the-sinner
# Pull Request
## Related issue
Fixes#916
## What does this PR do?
- Add proximityPrecision setting
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Thank you so much for contributing to Meilisearch!
Co-authored-by: Shalabh Agarwal <[email protected]>
Following this central issue
This is related to a newly introduced feature in Meilisearch v1.6.0: the proximity-precision setting.
Refer to docs for more information.
proximityPrecision
withget
,update
, andreset
methods associated.Here are the JS equivalents in meilisearch-js you should create for this repository:
/settings
API route (to get, reset and update the settings globally) must be able to receive in the payload the newproximityPrecision
field.code-samples.meilisearch.yaml
get_proximity_precision_settings_1
key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/cd9598324329d20d23f1d9200c6c537acaf01f3e/.code-samples.meilisearch.yaml#L1150-L1152update_proximity_precision_settings_1
key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/cd9598324329d20d23f1d9200c6c537acaf01f3e/.code-samples.meilisearch.yaml#L1153-L1157reset_proximity_precision_settings_1
key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/cd9598324329d20d23f1d9200c6c537acaf01f3e/.code-samples.meilisearch.yaml#L1158C1-L1160The text was updated successfully, but these errors were encountered: