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

Discrepancy in facet results #132

Open
wkdewey opened this issue Oct 6, 2022 · 2 comments · May be fixed by #128
Open

Discrepancy in facet results #132

wkdewey opened this issue Oct 6, 2022 · 2 comments · May be fixed by #128
Assignees
Labels

Comments

@wkdewey
Copy link
Contributor

wkdewey commented Oct 6, 2022

With the nested bucket aggregations, I am seeing a discrepancy between the facet count and search results. See https://github.com/CDRH/habeascorpus/issues/108. This seems to be related to how Orchid is constructing API queries, rather than an issue with individual projects

@wkdewey wkdewey added the bug label Oct 6, 2022
@wkdewey wkdewey self-assigned this Oct 6, 2022
@wkdewey
Copy link
Contributor Author

wkdewey commented Oct 17, 2022

This is an API problem, actually. I never properly implemented the method to pull out a single bucket from the nested query, although it appears to be constructing the buckets properly. The solution may be to use filters on the aggregations, rather than constructing queries.

@wkdewey wkdewey transferred this issue from CDRH/orchid Oct 17, 2022
@wkdewey
Copy link
Contributor Author

wkdewey commented Nov 14, 2022

fixed in latest code

@wkdewey wkdewey linked a pull request Dec 6, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant