You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation for update-non-seperator-tokens, examples for other languages correctly use the updateNonSeparatorTokens method. However, the Rust example incorrectly uses the .set_dictionary method.
The Rust example should instead use something like:
That's pretty funny, someone messed up their copy-paste. I'll create a PR in the meilisearch-rust repository since those examples are pulled from there.
Transferred ✅
For having done/reviewed at least 1 thousand code samples in 10 differents repo so in 10 different languages, I can say that's super easy to make a mistake 😂
Uh oh!
There was an error while loading. Please reload this page.
In the documentation for update-non-seperator-tokens, examples for other languages correctly use the
updateNonSeparatorTokens
method. However, the Rust example incorrectly uses the.set_dictionary
method.The Rust example should instead use something like:
This issue applies to all APIs under Separator tokens and Non-separator tokens, where Rust code currently references dictionary-related APIs.
The text was updated successfully, but these errors were encountered: