Skip to content

Tell meilisearch not to treat _ as a separator #120

Open
@david-crespo

Description

@david-crespo

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions