-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Open
Labels
:Search Foundations/SearchCatch all for Search FoundationsCatch all for Search Foundations>enhancementTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Description
Search API has stats parameter:
(Optional, string) Specific tag of the request for logging and statistical purposes.
It would be nice to have the same parameter for Count API.
At the moment a bad request error is returned:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/test_index/_count] contains unrecognized parameter: [stats]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/test_index/_count] contains unrecognized parameter: [stats]"
},
"status": 400
}As I understand statistics for count queries goes to common search statistics. Think it will be logical to be able to tag count queries.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Search Foundations/SearchCatch all for Search FoundationsCatch all for Search Foundations>enhancementTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.