enable distinct-attribute setting route

This commit is contained in:
Marin Postma 2021-04-20 11:28:16 +02:00
parent ec63e13896
commit 6c470cf687
No known key found for this signature in database
GPG Key ID: D5241F0C0C865F30

View File

@ -97,11 +97,11 @@ make_setting_route!(
stop_words
);
//make_setting_route!(
//"/indexes/{index_uid}/settings/distinct-attribute",
//String,
//distinct_attribute
//);
make_setting_route!(
"/indexes/{index_uid}/settings/distinct-attribute",
String,
distinct_attribute
);
//make_setting_route!(
//"/indexes/{index_uid}/settings/ranking-rules",
@ -129,6 +129,7 @@ create_services!(
attributes_for_faceting,
displayed_attributes,
searchable_attributes,
distinct_attribute,
stop_words
);