-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Make 0 as invalid value for min_children
in has_child
query
#32949
Comments
Pinging @elastic/es-search-aggs |
I'm interested in working on this |
Is anyone still working on this? If not can I pick this? |
@rajeshggwp Sorry, we do have an open PR for this: #33073 |
Is someone working on it? The issue is still open, I plan on working on it. |
@shoaib4330 Sorry, we have a stalled PR opened for it. I think we will just finish that PR. |
@shoaib4330 We have closed a stalled PR #33073, because of inactivity! If you still would like to work on this issue, please go ahead. |
@mayya-sharipova Sure. I'm on it then. |
@shoaib4330 have u started working on this, if not then i will pick it up. |
@mayya-sharipova I am new here, can I take on this issue? |
…n case min_children is not provided it will be set to 1 by default.
* squashing multiple commits * fixing #32949 updated DEFAULT_MIN_CHILDREN to be 1, this way in case min_children is not provided it will be set to 1 by default. * Fix ChildQuerySearchIT
Closed by #41347 |
…tic#41347) * squashing multiple commits * fixing elastic#32949 updated DEFAULT_MIN_CHILDREN to be 1, this way in case min_children is not provided it will be set to 1 by default. * Fix ChildQuerySearchIT
…tic#41347) * squashing multiple commits * fixing elastic#32949 updated DEFAULT_MIN_CHILDREN to be 1, this way in case min_children is not provided it will be set to 1 by default. * Fix ChildQuerySearchIT
0 for
min_children
option inhas_child
query doesn't make sense, because:1
, that is if there is no at least 1 child matching a specified constrained, a parent document is not returned.For these reasons, we should make 0 value as invalid value.
Related #21224
The text was updated successfully, but these errors were encountered: