Skip to content

Conversation

@not-napoleon
Copy link
Member

Backport of #45395

not-napoleon and others added 2 commits August 26, 2019 16:33
…stic#45395)

 * Add support for a Range field ValuesSource, including decode logic for range doc values and exposing RangeType as a first class enum
 * Provide hooks in ValuesSourceConfig for aggregations to control ValuesSource class selection on missing & script values
 * Branch aggregator creation in Histogram and DateHistogram based on ValuesSource class, to enable specialization based on type.  This is similar to how Terms aggregator works.
 * Prioritize field type when available for selecting the ValuesSource class type to use for an aggregation

 Conflicts:
	server/src/main/java/org/elasticsearch/index/mapper/RangeFieldMapper.java
	server/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramAggregationBuilder.java
	server/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/HistogramAggregationBuilder.java
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo

@not-napoleon not-napoleon merged commit aec125f into elastic:7.x Aug 28, 2019
@not-napoleon not-napoleon deleted the backport/7.x/pr-45395 branch August 28, 2019 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants