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

Geo Distance / Range Facets might count documents several times for a range entry if the field is multi valued #824

Closed
tozz opened this issue Apr 2, 2011 · 1 comment

Comments

@tozz
Copy link

tozz commented Apr 2, 2011

Curl recreation: https://gist.github.com/6fe64a3dfb963f84cd7b

Issue: The Geo Distance facet reports the number of the matching locations, if a single document has two matching locations the facet count will be 2 instead of 1 (only one document). An option to only count the number of matching documents is desired to fully implement it as a navigation facet.

Note, this also applies to range facet.

@kimchy
Copy link
Member

kimchy commented Apr 4, 2011

Geo Distance / Range Facets might count documents several times for a range entry if the field is multi valued, closed by 105d60a.

@kimchy kimchy closed this as completed Apr 4, 2011
williamrandolph pushed a commit to williamrandolph/elasticsearch that referenced this issue Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants