-
Notifications
You must be signed in to change notification settings - Fork 24.2k
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
Refactoring of Aggregations #14136
Refactoring of Aggregations #14136
Commits on Dec 21, 2015
-
Refactor ValuesSource to separate Parsing from Factory logic
ValuesSourceConfig is now evaluated in the ValuesSourceAggregatorFactory instead of ValueSourceParser. This means that the ValueSourceParser purely deals with parsing the XContent and the logic requiring access to the mappings etc. on the shard is left to the ValuesSourceAggregatorFactory. This means that, in the future, the parsing logic can be moved to the coordinating node.
Configuration menu - View commit details
-
Copy full SHA for 7a3f6fc - Browse repository at this point
Copy the full SHA 7a3f6fcView commit details -
Preparing ValuesSourceAggregatorFactory/Parser for refactoring
This change adds AbstractValuesSourceParser which will be the new class used to create ValuesSourceAggregatorFactory objects. AbstractValuesSourceParser parses all the parameters required for ValuesSource and passes to the sub-class to parse any other (implementation specific) parameters. After parsing is complete it will call createFactory on the implementing class to create the AggregatorFactory object and then set the ValuesSource specific parameters before returning it. ValuesSourceAggregatorFactory also now has setter methods so that it can be used as the 'builder' object in the future.
Configuration menu - View commit details
-
Copy full SHA for 855c199 - Browse repository at this point
Copy the full SHA 855c199View commit details -
Aggregation refactor: make aggregationFactory implement NamedWritable
Also makes AggregatorFactories implement Writable
Configuration menu - View commit details
-
Copy full SHA for 712b711 - Browse repository at this point
Copy the full SHA 712b711View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c37c6f - Browse repository at this point
Copy the full SHA 8c37c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97c2f7b - Browse repository at this point
Copy the full SHA 97c2f7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5da1898 - Browse repository at this point
Copy the full SHA 5da1898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e00895 - Browse repository at this point
Copy the full SHA 4e00895View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6795a59 - Browse repository at this point
Copy the full SHA 6795a59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa726f - Browse repository at this point
Copy the full SHA 3aa726fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac772c7 - Browse repository at this point
Copy the full SHA ac772c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2772e88 - Browse repository at this point
Copy the full SHA 2772e88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 113df32 - Browse repository at this point
Copy the full SHA 113df32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94e8679 - Browse repository at this point
Copy the full SHA 94e8679View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8499e27 - Browse repository at this point
Copy the full SHA 8499e27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39a951f - Browse repository at this point
Copy the full SHA 39a951fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c346065 - Browse repository at this point
Copy the full SHA c346065View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf7e525 - Browse repository at this point
Copy the full SHA cf7e525View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea6f312 - Browse repository at this point
Copy the full SHA ea6f312View commit details -
Configuration menu - View commit details
-
Copy full SHA for a495a75 - Browse repository at this point
Copy the full SHA a495a75View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e25ad - Browse repository at this point
Copy the full SHA e8e25adView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1e72d1 - Browse repository at this point
Copy the full SHA b1e72d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75f20c4 - Browse repository at this point
Copy the full SHA 75f20c4View commit details -
Aggregations Refactor: Refactor Avg Bucket, Min Bucket, Max Bucket, S…
…um Bucket, Percentiles Bucket, Stats Bucket and Extended Stats Bucket Aggregations
Configuration menu - View commit details
-
Copy full SHA for a0e60bf - Browse repository at this point
Copy the full SHA a0e60bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b89c44 - Browse repository at this point
Copy the full SHA 1b89c44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80e58e3 - Browse repository at this point
Copy the full SHA 80e58e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b5aa09 - Browse repository at this point
Copy the full SHA 2b5aa09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 210be97 - Browse repository at this point
Copy the full SHA 210be97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b711e9 - Browse repository at this point
Copy the full SHA 6b711e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6df27fe - Browse repository at this point
Copy the full SHA 6df27feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fcf453 - Browse repository at this point
Copy the full SHA 9fcf453View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f63c46 - Browse repository at this point
Copy the full SHA 8f63c46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aea0fa - Browse repository at this point
Copy the full SHA 1aea0faView commit details -
Configuration menu - View commit details
-
Copy full SHA for cac2ca8 - Browse repository at this point
Copy the full SHA cac2ca8View commit details
Commits on Jan 6, 2016
-
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/search/aggregations/bucket/children/ChildrenParser.java # core/src/main/java/org/elasticsearch/search/aggregations/support/ValuesSourceParser.java # test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java
Configuration menu - View commit details
-
Copy full SHA for 2c33f78 - Browse repository at this point
Copy the full SHA 2c33f78View commit details
Commits on Jan 7, 2016
-
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/percolator/PercolatorService.java # core/src/main/java/org/elasticsearch/percolator/QueryCollector.java
Configuration menu - View commit details
-
Copy full SHA for 3b7d1b4 - Browse repository at this point
Copy the full SHA 3b7d1b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1883317 - Browse repository at this point
Copy the full SHA 1883317View commit details
Commits on Jan 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 7e7e4a2 - Browse repository at this point
Copy the full SHA 7e7e4a2View commit details
Commits on Jan 11, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9d7d89d - Browse repository at this point
Copy the full SHA 9d7d89dView commit details
Commits on Jan 12, 2016
-
Removed AvgBuilder and ExtendedStatsBuilder in place of Avgaggiegator…
….Factory and ExtendedStatsAggregator.Factory
Configuration menu - View commit details
-
Copy full SHA for 000da3a - Browse repository at this point
Copy the full SHA 000da3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f429cb0 - Browse repository at this point
Copy the full SHA f429cb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 360fe98 - Browse repository at this point
Copy the full SHA 360fe98View commit details
Commits on Jan 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 8c4f0ea - Browse repository at this point
Copy the full SHA 8c4f0eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e866dd - Browse repository at this point
Copy the full SHA 0e866ddView commit details -
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java # core/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java
Configuration menu - View commit details
-
Copy full SHA for e6f9cbc - Browse repository at this point
Copy the full SHA e6f9cbcView commit details
Commits on Jan 25, 2016
-
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/search/aggregations/bucket/filter/FilterAggregator.java # core/src/main/java/org/elasticsearch/search/aggregations/bucket/filters/FiltersAggregator.java # core/src/main/java/org/elasticsearch/search/SearchModule.java
Configuration menu - View commit details
-
Copy full SHA for cd8320b - Browse repository at this point
Copy the full SHA cd8320bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d63b8a2 - Browse repository at this point
Copy the full SHA d63b8a2View commit details
Commits on Jan 26, 2016
-
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/test/java/org/elasticsearch/percolator/PercolateDocumentParserTests.java
Configuration menu - View commit details
-
Copy full SHA for 3b35754 - Browse repository at this point
Copy the full SHA 3b35754View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11bafa1 - Browse repository at this point
Copy the full SHA 11bafa1View commit details -
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java # core/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java # core/src/main/java/org/elasticsearch/search/SearchModule.java
Configuration menu - View commit details
-
Copy full SHA for 641aaab - Browse repository at this point
Copy the full SHA 641aaabView commit details
Commits on Jan 27, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 187009c - Browse repository at this point
Copy the full SHA 187009cView commit details
Commits on Jan 29, 2016
-
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/action/search/SearchRequestBuilder.java # core/src/main/java/org/elasticsearch/percolator/PercolateContext.java # core/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/ScriptHeuristic.java # core/src/main/java/org/elasticsearch/search/internal/DefaultSearchContext.java # core/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificanceHeuristicTests.java
Configuration menu - View commit details
-
Copy full SHA for 859f9e6 - Browse repository at this point
Copy the full SHA 859f9e6View commit details
Commits on Feb 1, 2016
-
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/test/java/org/elasticsearch/search/aggregations/AggregationsBinaryIT.java # core/src/test/java/org/elasticsearch/search/aggregations/bucket/FilterIT.java # core/src/test/java/org/elasticsearch/search/aggregations/bucket/FiltersIT.java # core/src/test/java/org/elasticsearch/search/aggregations/bucket/GeoDistanceIT.java # core/src/test/java/org/elasticsearch/search/aggregations/bucket/NestedIT.java # core/src/test/java/org/elasticsearch/search/aggregations/bucket/SamplerIT.java # core/src/test/java/org/elasticsearch/search/aggregations/pipeline/DerivativeIT.java # modules/lang-groovy/src/test/java/org/elasticsearch/messy/tests/BucketSelectorTests.java # modules/lang-groovy/src/test/java/org/elasticsearch/messy/tests/TDigestPercentileRanksTests.java
Configuration menu - View commit details
-
Copy full SHA for a241983 - Browse repository at this point
Copy the full SHA a241983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d2e9e0 - Browse repository at this point
Copy the full SHA 2d2e9e0View commit details
Commits on Feb 3, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5d9d91b - Browse repository at this point
Copy the full SHA 5d9d91bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 761adbb - Browse repository at this point
Copy the full SHA 761adbbView commit details
Commits on Feb 5, 2016
-
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java # core/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java
Configuration menu - View commit details
-
Copy full SHA for f06f17f - Browse repository at this point
Copy the full SHA f06f17fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92d958c - Browse repository at this point
Copy the full SHA 92d958cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19d9c58 - Browse repository at this point
Copy the full SHA 19d9c58View commit details
Commits on Feb 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for a0b004a - Browse repository at this point
Copy the full SHA a0b004aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02ecfd6 - Browse repository at this point
Copy the full SHA 02ecfd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 323088d - Browse repository at this point
Copy the full SHA 323088dView commit details -
Make AggregatorFactory fully immutable by requiring the parent, subFa…
…ctories and metadata in the constructor
Configuration menu - View commit details
-
Copy full SHA for 94e594c - Browse repository at this point
Copy the full SHA 94e594cView commit details
Commits on Feb 9, 2016
-
Configuration menu - View commit details
-
Copy full SHA for e5a5067 - Browse repository at this point
Copy the full SHA e5a5067View commit details -
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/percolator/PercolateContext.java # core/src/main/java/org/elasticsearch/search/aggregations/bucket/filter/FilterParser.java # core/src/main/java/org/elasticsearch/search/aggregations/bucket/filters/FiltersParser.java # core/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTermsParametersParser.java # core/src/main/java/org/elasticsearch/search/internal/DefaultSearchContext.java # core/src/test/java/org/elasticsearch/search/aggregations/bucket/geogrid/GeoHashGridParserTests.java # test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java
Configuration menu - View commit details
-
Copy full SHA for 80bbb4a - Browse repository at this point
Copy the full SHA 80bbb4aView commit details
Commits on Feb 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ccee057 - Browse repository at this point
Copy the full SHA ccee057View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54e2f31 - Browse repository at this point
Copy the full SHA 54e2f31View commit details -
Made AggregatorFactory fields final and removed AggregationContext fr…
…om createInternal() parameters
Configuration menu - View commit details
-
Copy full SHA for 2d1f97b - Browse repository at this point
Copy the full SHA 2d1f97bView commit details -
Renames PipelineAggregatorFactory to PipelineAggregatorBuilder
Also renames all the implementations appropriately
Configuration menu - View commit details
-
Copy full SHA for 37ce740 - Browse repository at this point
Copy the full SHA 37ce740View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f760bd - Browse repository at this point
Copy the full SHA 1f760bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for cef9b01 - Browse repository at this point
Copy the full SHA cef9b01View commit details
Commits on Feb 11, 2016
-
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/main/java/org/elasticsearch/search/SearchService.java # test/framework/src/main/java/org/elasticsearch/search/MockSearchService.java
Configuration menu - View commit details
-
Copy full SHA for 4a9c84d - Browse repository at this point
Copy the full SHA 4a9c84dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca6058e - Browse repository at this point
Copy the full SHA ca6058eView commit details
Commits on Feb 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ed3f790 - Browse repository at this point
Copy the full SHA ed3f790View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9c1e88 - Browse repository at this point
Copy the full SHA d9c1e88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86b0777 - Browse repository at this point
Copy the full SHA 86b0777View commit details
Commits on Feb 15, 2016
-
Configuration menu - View commit details
-
Copy full SHA for c3d6520 - Browse repository at this point
Copy the full SHA c3d6520View commit details -
Merge branch 'master' into feature/aggs-refactoring
# Conflicts: # core/src/test/java/org/elasticsearch/search/builder/SearchSourceBuilderTests.java
Configuration menu - View commit details
-
Copy full SHA for 1a46628 - Browse repository at this point
Copy the full SHA 1a46628View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd2e00d - Browse repository at this point
Copy the full SHA bd2e00dView commit details