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

Tell meilisearch not to treat _ as a separator #120

Open
david-crespo opened this issue Apr 4, 2024 · 0 comments
Open

Tell meilisearch not to treat _ as a separator #120

david-crespo opened this issue Apr 4, 2024 · 0 comments
Assignees

Comments

@david-crespo
Copy link

image

Thanks @hawkw for noticing. I think in general we would prefer underscores not to be treated like whitespace.

The ability to configure separators was added in Meilisearch 1.4.0. We are on version 0.24.3 of the Rust SDK, which looks like it wraps Meilisearch 1.2.0. That may not be correct, though, because in theory this underscore behavior started in 1.3.0 (source).

The behavior of the underscore has been changed since Meilisearch v1.3.0 and is now considered a separator by default

We would have to upgrade to 0.25.0 to get 1.7.0 to configure the separator.

https://github.com/meilisearch/meilisearch-rust/releases

meilisearch-sdk = { version = "0.24.3", default-features = false, features = ["reqwest-rustls"] }

rfd-api/Cargo.toml

Lines 111 to 112 in 070edfd

[patch.crates-io]
meilisearch-sdk = { git = "https://github.com/gibbz00/meilisearch-rust.git", branch = "request_clients" }

https://github.com/meilisearch/meilisearch-rust/releases/tag/v0.25.0

@augustuswm augustuswm self-assigned this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants