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

Improve documentation around which units are and are not allowed in the date_histogram #29410

Closed
colings86 opened this issue Apr 6, 2018 · 2 comments
Labels
:Analytics/Aggregations Aggregations >docs General docs changes help wanted adoptme

Comments

@colings86
Copy link
Contributor

Spilt out from #28432.

We should improve the documentation for the date_histogram aggregation to make it clear which units are allowed in singular form (e.g. "1d") and multiple form (e.g. "2d") and the difference in behaviour between these two (namely that the former is a calendar interval and the latter is a fixed duration in milliseconds.

This is far from an ideal API and I will update this issue with a link to another issue I'll open about improving this situation

@elastic/es-search-aggs

@colings86 colings86 added >docs General docs changes help wanted adoptme :Analytics/Aggregations Aggregations labels Apr 6, 2018
@colings86
Copy link
Contributor Author

The above mentioned issue is: #29411

@Sue-Gallagher Sue-Gallagher self-assigned this Jun 27, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
Sue-Gallagher added a commit to Sue-Gallagher/elasticsearch that referenced this issue Jul 16, 2018
@polyfractal
Copy link
Contributor

Closed by #31638

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations >docs General docs changes help wanted adoptme
Projects
None yet
Development

No branches or pull requests

3 participants