implements the synonyms in transplant

This commit is contained in:
Tamo 2021-06-03 14:19:56 +02:00 committed by marin postma
parent b119bb4ab0
commit 18d4d6097a
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
8 changed files with 50 additions and 56 deletions

View file

@ -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
);