Skip to content

[v1.6] Support proximityPrecision setting #511

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

Closed
7 tasks
curquiza opened this issue Jan 15, 2024 · 0 comments · Fixed by #512
Closed
7 tasks

[v1.6] Support proximityPrecision setting #511

curquiza opened this issue Jan 15, 2024 · 0 comments · Fixed by #512
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@curquiza
Copy link
Member

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.

  • 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-precision
client.index('indexName').updateProximityPrecision('byAttribute');  // calls PUT /indexes/:uid/settings/proximity-precision
client.index('indexName').resetProximityPrecision(); // calls DELETE /indexes/:uid/settings/proximity-precision
@curquiza curquiza added enhancement New feature or request good first issue Good for newcomers labels Jan 15, 2024
meili-bors bot added a commit that referenced this issue Jan 16, 2024
512: Implement new proximityPrecision r=ellnix a=andre-m-dev

# Pull Request

## Related issue
Fixes #511 

## What does this PR do?
- Add proximityPrecision

## 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: Andre <>
@meili-bors meili-bors bot closed this as completed in 40f80cb Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant