mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
implements the synonyms in transplant
This commit is contained in:
parent
b119bb4ab0
commit
18d4d6097a
8 changed files with 50 additions and 56 deletions
|
@ -97,6 +97,12 @@ make_setting_route!(
|
|||
stop_words
|
||||
);
|
||||
|
||||
make_setting_route!(
|
||||
"/indexes/{index_uid}/settings/synonyms",
|
||||
std::collections::BTreeMap<String, Vec<String>>,
|
||||
synonyms
|
||||
);
|
||||
|
||||
make_setting_route!(
|
||||
"/indexes/{index_uid}/settings/distinct-attribute",
|
||||
String,
|
||||
|
@ -131,6 +137,7 @@ create_services!(
|
|||
searchable_attributes,
|
||||
distinct_attribute,
|
||||
stop_words,
|
||||
synonyms,
|
||||
ranking_rules
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue