mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Merge #162
162: Re-enable ranking rules route r=MarinPostma a=MarinPostma re-enable ranking rules setting route Co-authored-by: Marin Postma <postma.marin@protonmail.com>
This commit is contained in:
commit
3d85b2d854
@ -103,11 +103,11 @@ make_setting_route!(
|
|||||||
distinct_attribute
|
distinct_attribute
|
||||||
);
|
);
|
||||||
|
|
||||||
//make_setting_route!(
|
make_setting_route!(
|
||||||
//"/indexes/{index_uid}/settings/ranking-rules",
|
"/indexes/{index_uid}/settings/ranking-rules",
|
||||||
//Vec<String>,
|
Vec<String>,
|
||||||
//ranking_rules
|
ranking_rules
|
||||||
//);
|
);
|
||||||
|
|
||||||
macro_rules! create_services {
|
macro_rules! create_services {
|
||||||
($($mod:ident),*) => {
|
($($mod:ident),*) => {
|
||||||
@ -130,7 +130,8 @@ create_services!(
|
|||||||
displayed_attributes,
|
displayed_attributes,
|
||||||
searchable_attributes,
|
searchable_attributes,
|
||||||
distinct_attribute,
|
distinct_attribute,
|
||||||
stop_words
|
stop_words,
|
||||||
|
ranking_rules
|
||||||
);
|
);
|
||||||
|
|
||||||
#[post("/indexes/{index_uid}/settings", wrap = "Authentication::Private")]
|
#[post("/indexes/{index_uid}/settings", wrap = "Authentication::Private")]
|
||||||
|
Loading…
Reference in New Issue
Block a user