push a first implementation of the stop_words

This commit is contained in:
tamo 2021-04-06 15:41:03 +02:00
parent 2206a44baf
commit 40ef9a3c6a
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
6 changed files with 66 additions and 15 deletions

View file

@ -91,6 +91,12 @@ make_setting_route!(
searchable_attributes
);
make_setting_route!(
"/indexes/{index_uid}/settings/stop-words",
std::collections::BTreeSet<String>,
stop_words
);
//make_setting_route!(
//"/indexes/{index_uid}/settings/distinct-attribute",
//String,
@ -122,7 +128,8 @@ macro_rules! create_services {
create_services!(
attributes_for_faceting,
displayed_attributes,
searchable_attributes
searchable_attributes,
stop_words
);
#[post("/indexes/{index_uid}/settings", wrap = "Authentication::Private")]