Sort hyper parameters numeric values as numbers and not strings

This commit is contained in:
allegroai
2020-06-01 12:27:56 +03:00
parent dcdf2a3d58
commit bf7f0f646b
4 changed files with 35 additions and 5 deletions

View File

@@ -475,7 +475,11 @@ get_all {
minimum: 1
}
order_by {
description: "List of field names to order by. When search_text is used, '@text_score' can be used as a field representing the text score of returned documents. Use '-' prefix to specify descending order. Optional, recommended when using page"
description: """List of field names to order by. When search_text is used,
'@text_score' can be used as a field representing the text score of returned documents.
Use '-' prefix to specify descending order. Optional, recommended when using page.
If the first order field is a hyper parameter or metric then string values are ordered
according to numeric ordering rules where applicable"""
type: array
items { type: string }
}