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.4] Support text-separator customization #359

Closed
10 tasks
curquiza opened this issue Sep 27, 2023 · 0 comments · Fixed by #379
Closed
10 tasks

[v1.4] Support text-separator customization #359

curquiza opened this issue Sep 27, 2023 · 0 comments · Fixed by #379
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@curquiza
Copy link
Member

Following this central issue

  • Add two new settings: separatorTokens and nonSeparatorTokens with get, update, and reset methods associated.
    Here are the JS equivalents in meilisearch-js you should create for this repository:
client.index('indexName').getSeparatorTokens(); // calls GET /indexes/:uid/settings/separator-tokens
client.index('indexName').updateSeparatorTokens(['|', '/', '&sep']);  // calls PUT /indexes/:uid/settings/separator-tokens
client.index('indexName').resetSeparatorTokens(); // calls DELETE /indexes/:uid/settings/separator-tokens

client.index('indexName').getNonSeparatorTokens(); // calls GET /indexes/:uid/settings/non-separator-tokens
client.index('indexName').updateNonSeparatorTokens(['@', '#']); // calls PUT /indexes/:uid/settings/non-separator-tokens
client.index('indexName').resetNonSeparatorTokens(); // calls DELETE /indexes/:uid/settings/non-separator-tokens
@curquiza curquiza added enhancement New feature or request good first issue Good for newcomers labels Sep 27, 2023
@ahmednfwela ahmednfwela self-assigned this Feb 16, 2024
@ahmednfwela ahmednfwela mentioned this issue Feb 16, 2024
3 tasks
@meili-bors meili-bors bot closed this as completed in 077eb32 Feb 19, 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.

2 participants