Skip to content

Commit 3ea7eb0

Browse files
shortcutsFluf22
authored andcommitted
feat: customRanking, ranking
1 parent c239ab7 commit 3ea7eb0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

tests/CTS/requests/search/setSettings.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,29 @@
573573
}
574574
}
575575
},
576+
{
577+
"testName": "customRanking applying search parameters for a specific query",
578+
"isSnippet": true,
579+
"parameters": {
580+
"indexName": "theIndexName",
581+
"indexSettings": {
582+
"customRanking": [
583+
"desc(nb_airline_liaisons)"
584+
],
585+
"attributesForFaceting": ["city, country"]
586+
}
587+
},
588+
"request": {
589+
"path": "/1/indexes/theIndexName/settings",
590+
"method": "PUT",
591+
"body": {
592+
"customRanking": [
593+
"desc(nb_airline_liaisons)"
594+
],
595+
"attributesForFaceting": ["city, country"]
596+
}
597+
}
598+
},
576599
{
577600
"testName": "customRanking rounded pageviews",
578601
"isSnippet": true,

0 commit comments

Comments
 (0)