-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Support rest_total_hits_as_int in watcher #36008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
blocker
:Data Management/Watcher
:Search/Search
Search-related issues that do not fall into other categories
>upgrade
v7.0.0-beta1
Comments
Pinging @elastic/es-search |
Pinging @elastic/es-core-features |
jimczi
added a commit
to jimczi/elasticsearch
that referenced
this issue
Nov 29, 2018
This change adds the support for rest_total_hits_as_int in the watcher search inputs. Setting this parameter in the request will transform the search response to contain the total hits as a number (instead of an object). Note that this parameter is currently a noop since elastic#35849 is not merged. Closes elastic#36008
jimczi
added a commit
that referenced
this issue
Nov 30, 2018
This change adds the support for rest_total_hits_as_int in the watcher search inputs. Setting this parameter in the request will transform the search response to contain the total hits as a number (instead of an object). Note that this parameter is currently a noop since #35849 is not merged. Closes #36008
jimczi
added a commit
that referenced
this issue
Nov 30, 2018
This change adds the support for rest_total_hits_as_int in the watcher search inputs. Setting this parameter in the request will transform the search response to contain the total hits as a number (instead of an object). Note that this parameter is currently a noop since #35849 is not merged. Closes #36008
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
blocker
:Data Management/Watcher
:Search/Search
Search-related issues that do not fall into other categories
>upgrade
v7.0.0-beta1
We introduced a new parameter to control how the total hits in the search response should be rendered (#35848). This parameter is not exposed in the search watcher input so the existing watch that extracts the total hits in 6x will not be compatible with v7. We should expose this parameter in order to help users to migrate their watch in v7.
The text was updated successfully, but these errors were encountered: