Skip to content
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

[v1.6] Support proximityPrecision setting #372

Open
7 tasks
curquiza opened this issue Jan 15, 2024 · 0 comments
Open
7 tasks

[v1.6] Support proximityPrecision setting #372

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

Comments

@curquiza
Copy link
Member

curquiza commented Jan 15, 2024

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
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

No branches or pull requests

1 participant