Skip to content
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

[BUG] GlobalAggregation with profile option enabled returns incorrect result #7088

Closed
sohami opened this issue Apr 11, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working untriaged

Comments

@sohami
Copy link
Collaborator

sohami commented Apr 11, 2023

Describe the bug
Global Aggregation in a search request should execute on all the documents instead of the documents filtered by the query provided in the request. When profile option is disabled this work as expected. When profile is enabled it aggregates only on the documents filtered by the query instead on all the documents.

To Reproduce
Steps to reproduce the behavior:
By enabling the profile option in the GlobalIT here the test starts failing

Expected behavior
With profile enabled the test should be successful

Plugins
N/A

Screenshots
N/A

Host/Environment (please complete the following information):
N/A

Additional context
N/A

@sohami sohami added bug Something isn't working untriaged labels Apr 11, 2023
@sohami
Copy link
Collaborator Author

sohami commented Apr 11, 2023

I know the fix for this and will be opening a PR soon

@andrross
Copy link
Member

Fixed by #7114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants