Commit Graph

18339 Commits

Author SHA1 Message Date
Colin Goodheart-Smithe 8f63c46d27 Aggregations Refactor: Refactor Terms Aggregation 2015-12-21 09:35:46 +00:00
Colin Goodheart-Smithe 9fcf453858 merge conflict fixes 2015-12-21 09:35:35 +00:00
Colin Goodheart-Smithe 6df27fe0e0 Aggregations Refactor: Refactor Filters Aggregation 2015-12-21 09:35:34 +00:00
Colin Goodheart-Smithe 6b711e9401 Aggregations Refactor: Refactor Range Aggregations 2015-12-21 09:35:34 +00:00
Colin Goodheart-Smithe 210be978b1 fixed merge errors 2015-12-21 09:35:27 +00:00
Colin Goodheart-Smithe 2b5aa09ccf Aggregations Refactor: Refactor Moving Average Aggregation 2015-12-21 09:35:27 +00:00
Colin Goodheart-Smithe 80e58e32a4 Aggregations Refactor: Refactor Bucket Selector Aggregation 2015-12-21 09:34:56 +00:00
Colin Goodheart-Smithe 1b89c44cb5 Aggregations Refactor: Refactor Bucket Script Aggregation 2015-12-21 09:34:56 +00:00
Colin Goodheart-Smithe a0e60bf228 Aggregations Refactor: Refactor Avg Bucket, Min Bucket, Max Bucket, Sum Bucket, Percentiles Bucket, Stats Bucket and Extended Stats Bucket Aggregations 2015-12-21 09:34:41 +00:00
Colin Goodheart-Smithe 75f20c494d Aggregations Refactor: Refactor Serial Differencing Aggregation 2015-12-21 09:34:23 +00:00
Colin Goodheart-Smithe b1e72d171f Aggregations Refactor: Refactor Geo Centroid Aggregation 2015-12-21 09:34:23 +00:00
Colin Goodheart-Smithe e8e25ad4f1 Aggregations Refactor: Refactor Cumulative Sum Aggregation 2015-12-21 09:34:23 +00:00
Colin Goodheart-Smithe a495a75bfc Aggregations Refactor: Refactor Children Aggregation 2015-12-21 09:34:22 +00:00
Colin Goodheart-Smithe ea6f312abe Aggregations Refactor: Refactor Nested and Reverse Nested Aggregations 2015-12-21 09:34:07 +00:00
Colin Goodheart-Smithe cf7e525244 Aggregations Refactor: Refactor Missing Aggregation 2015-12-21 09:34:07 +00:00
Colin Goodheart-Smithe c3460651d1 Aggregations Refactor: Refactor Filter Aggregation 2015-12-21 09:34:06 +00:00
Colin Goodheart-Smithe 39a951f1c0 Aggregations Refactor: Refactor Cardinality Aggregation 2015-12-21 09:34:06 +00:00
Colin Goodheart-Smithe 8499e27dc5 Aggregations Refactor: Refactor Scripted Metric Aggregation 2015-12-21 09:34:06 +00:00
Colin Goodheart-Smithe 94e867906c Aggregations Refactor: Refactor Geobounds Aggregation 2015-12-21 09:34:06 +00:00
Colin Goodheart-Smithe 113df32b3a Aggregations Refactor: Refactor Percentiles and Percentile Ranks Aggregation 2015-12-21 09:34:06 +00:00
Colin Goodheart-Smithe 2772e88447 Aggregations Refactor: Refactor Geohash Grid Aggregation 2015-12-21 09:34:05 +00:00
Colin Goodheart-Smithe ac772c70e9 Aggregations Refactor: Refactor Derivative Aggregation 2015-12-21 09:34:05 +00:00
Colin Goodheart-Smithe 3aa726ffe3 Aggregations Refactor: Refactor Value Count Aggregation 2015-12-21 09:34:05 +00:00
Colin Goodheart-Smithe 6795a59f14 Aggregations Refactor: Refactor Stats and Extended_Stats Aggregations 2015-12-21 09:34:05 +00:00
Colin Goodheart-Smithe 4e008952b2 Aggregations Refactor: Refactor Min Aggregation 2015-12-21 09:34:05 +00:00
Colin Goodheart-Smithe 5da1898f11 Aggregations Refactor: Refactor Max, Avg, and Sum Aggregations 2015-12-21 09:34:05 +00:00
Colin Goodheart-Smithe 97c2f7b037 Aggregations Refactor: Refactor Histogram and Date Histogram Aggregation 2015-12-21 09:34:05 +00:00
Colin Goodheart-Smithe 8c37c6f896 Aggregations Refactor: Refactor Global Aggregation 2015-12-21 09:34:05 +00:00
Colin Goodheart-Smithe 712b7116f4 Aggregation refactor: make aggregationFactory implement NamedWritable
Also makes AggregatorFactories implement Writable
2015-12-21 09:34:04 +00:00
Colin Goodheart-Smithe 855c199f60 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.
2015-12-21 09:33:48 +00:00
Colin Goodheart-Smithe 7a3f6fc1ba 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.
2015-12-21 09:33:48 +00:00
Jim Ferenczi 1ec44dcdda Merge pull request #15371 from jimferenczi/alias_routing
Resolves the conflict between alias routing and parent routing by applying the alias routing and ignoring the parent routing.
2015-12-21 09:58:45 +01:00
Jim Ferenczi 776e5d8096 Separates routing and parent in all documentrequest in order to be able to distinguish an explicit routing value from a parent routing.
Resolves conflicts between parent routing and alias routing with the following rule:
    * The parent routing is ignored if there is an alias routing that matches the request.
Closes #3068
2015-12-21 09:44:57 +01:00
Ryan Ernst a518599e27 Allow plugins to upgrade slf4j-api to a compile dep
This was originally intended to be general purpose in #15555, but
that still had problems. Instead, this change fixes the issue explicitly
for slf4j-api, since that is the problematic dep that is not actually
included in the distributions.
2015-12-20 17:59:00 -08:00
Simon Willnauer a9e9dc7d88 Disable tests for example-fixture 2015-12-20 15:13:14 +01:00
Ryan Ernst 403644cb48 Merge pull request #15561 from rjernst/fixtures
Add fixture capabilities to integ tests
2015-12-19 15:46:45 -08:00
Ryan Ernst 9cb4c82c58 Build: Add fixture capabilities to integ tests
This change adds a Fixture class for use by gradle. A Fixture is an
external process that integration tests will use. It can be added as a
dependsOn for integTest, and will automatically be shutdown upon success
or failure, as well as relevant information dumped on failure. There is
also an example fixture in this change.
2015-12-19 15:46:21 -08:00
Robert Muir 8c6f5a0c60 add failing test 2015-12-19 15:05:38 -08:00
Robert Muir 5dcccca848 add example fixture 2015-12-19 15:05:37 -08:00
Ryan Ernst ad46a09cf5 Revert "Build: Allow plugins to "upgrade" provided deps"
This reverts commit 583ba76d0b.
2015-12-19 01:22:12 -08:00
Ryan Ernst c2e6243ea2 Merge pull request #15555 from rjernst/upgrade_provided
Allow plugins to "upgrade" provided deps
2015-12-19 00:10:31 -08:00
Ryan Ernst 583ba76d0b Build: Allow plugins to "upgrade" provided deps
This only really applies to slf4j, since the others are in the
distribution, but it is necessary if a plugin wants to depend on slf4j.
2015-12-19 00:06:29 -08:00
Ryan Ernst af11707da0 Remove unused method impl in AntTask and make abstract 2015-12-18 14:37:15 -08:00
Zachary Tong 5cfefe08b0 Fix collector's class name on response output 2015-12-18 16:47:06 -05:00
Ryan Ernst c50b22f95f Merge pull request #15395 from rmuir/wildcard_imports
fail build on wildcard imports
2015-12-18 13:45:33 -08:00
Ryan Ernst 690fb2cd3f Rename InternalFilters.Bucket to InternalFilters.InternalBucket to avoid name collision 2015-12-18 13:22:20 -08:00
Ryan Ernst beec7ca9db Merge branch 'master' into wildcard_imports 2015-12-18 13:18:08 -08:00
Ryan Ernst d0a10b337e Fix silly typo in variable name... 2015-12-18 13:17:05 -08:00
Ryan Ernst a639b3d3e4 Remove wildcard imports for groovy too 2015-12-18 12:47:35 -08:00
Ryan Ernst 4ea19995cf Remove wildcard imports 2015-12-18 12:43:47 -08:00