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

Aggregation Support for Range Fields #23660

Closed
nknize opened this issue Mar 20, 2017 · 2 comments
Closed

Aggregation Support for Range Fields #23660

nknize opened this issue Mar 20, 2017 · 2 comments

Comments

@nknize
Copy link
Contributor

nknize commented Mar 20, 2017

The original Range Field PR (#21002) included a CustomRangeDocValuesField for enabling doc values on Lucene Range Field types. One reason it was removed is because Aggregations have no way of leveraging range fields; so I am opening this issue to solicit ideas on adding range field support to aggregations. For relevant bucket aggregations (e.g., histogram, range, date_histogram, date_range, ip_range) it seems the simple way is to count the document if the indexed range INTERSECTS with the bucket range? There are also a lot of interesting things (e.g., distribution stats) we could do for supporting range fields in existing metric aggregations (stats, extended_stats, etc). I don't want to overthink this but it seems like there are several different directions we could go here; and we had some questions around this topic at elasticon AMA, so I'd like to start gathering some thoughts.

@jpountz
Copy link
Contributor

jpountz commented Mar 20, 2017

Relates to #23182.

@nknize
Copy link
Contributor Author

nknize commented Mar 20, 2017

Oh hay!! I might have seen that one if I didn't have 265K unread emails! Thanks @jpountz! Closing this issue as a duplicate.

@nknize nknize closed this as completed Mar 20, 2017
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