Robert Muir
3ffd1a5219
final
2015-12-21 12:54:33 -05:00
Robert Muir
f81b12e327
minimize accessiblity, remove unused threadpool
2015-12-21 12:39:40 -05:00
Simon Willnauer
445be98e4c
Merge pull request #15574 from s1monw/drop_simple_translog
...
Drop support for simple translog and hard-wire buffer to 8kb
2015-12-21 17:28:55 +01:00
Adrien Grand
a6bf860cb5
Merge pull request #15575 from jpountz/upgrade/5.5.0-snapshot-1721183
...
Upgrade to lucene-5.5.0-snapshot-1721183.
2015-12-21 17:17:42 +01:00
Adrien Grand
cf52e96c42
Upgrade to lucene-5.5.0-snapshot-1721183.
...
Some files that implement or use the Scorer API had to be changed because of
https://issues.apache.org/jira/browse/LUCENE-6919 .
2015-12-21 17:02:08 +01:00
Simon Willnauer
fcfd98e9e8
Drop support for simple translog and hard-wire buffer to 8kb
...
Today we have two variants of translogs for indexing. We only recommend the buffered
one which also has a 20% advantage in indexing speed. This commit removes the option and defaults
to the buffered case. It also hard-wires the translog buffer to 8kb instead of 64kb. We used to
adjust that buffer based on if the shard is active or not, this code has also been removed and
instead we just keep an 8kb buffer arround.
2015-12-21 16:44:35 +01:00
Jim Ferenczi
81fd2169cf
Renames "default" similarity into "classic".
...
Replaces deprecated DefaultSimilarity by ClassicSimilarity.
Fixes #15102
2015-12-21 16:22:53 +01:00
Jim Ferenczi
96e29be7c6
Merge pull request #15571 from jimferenczi/min_should_match
...
Min should match greater than the number of optional clauses should return no result
2015-12-21 16:06:51 +01:00
Jim Ferenczi
4d32cc0b9f
Queries.calculateMinShouldMatch returns the number of "min should match" clauses that the user wanted
...
even if the number of optional clauses is smaller than the provided number.
In such case the query now returns no result.
Closes #15521
2015-12-21 16:06:06 +01:00
Simon Willnauer
0cdbcdab64
added 2.3.0-SNAPSHOT as a Version constant
2015-12-21 15:48:16 +01:00
Simon Willnauer
b56e19a00c
Merge pull request #15573 from s1monw/drop_settings_01
...
Simplify translog-based flush settings
2015-12-21 15:45:56 +01:00
Simon Willnauer
7fe2eddfec
fix test
2015-12-21 15:26:56 +01:00
Simon Willnauer
613e8a9782
add note to migration guide
2015-12-21 15:20:32 +01:00
Simon Willnauer
afc1cc19af
Simplify translog-based flush settings
...
This commit removes `index.translog.flush_threshold_ops` and `index.translog.disable_flush`
in favor of `index.translog.flush_threshold_size`. The number of operations is meaningless by itself and
can easily be turned into a size value with knowledge of the data. Disabling the flush is only useful in
tests and we can set the size value to a really high value. If users really need to do this they can
also apply a very high value like `1PB`.
2015-12-21 15:15:00 +01:00
Simon Willnauer
67c2f4224c
Merge pull request #15572 from s1monw/issues/15570
...
Remove `index.merge.scheduler.notify_on_failure` and default to `true`
2015-12-21 15:13:49 +01:00
Colin Goodheart-Smithe
cac2ca845f
Aggregations Refactor: Refactor Top Hits Aggregation
2015-12-21 13:41:10 +00:00
Simon Willnauer
eb64a81d05
Remove `index.merge.scheduler.notify_on_failure` and default to `true`
...
This setting was undocumented and should not be set by any user. We should
fail the shard instead.
Closes #15570
2015-12-21 14:39:58 +01:00
Adrien Grand
454f3e8679
Merge pull request #15546 from jpountz/fix/realistic_mapping_tests
...
Make mappings tests more realistic.
2015-12-21 10:47:13 +01:00
Adrien Grand
ac393b7a31
Make mappings tests more realistic.
...
DocumentMapperParser has both parse and parseCompressed methods. Except that the
parse methods are ONLY used from the unit tests. This commit removes the parse
method and moves all tests to parseCompressed so that they test more
realistically how mappings are managed.
Then I renamed parseCompressed to parse given that this is the only alternative
anyway.
2015-12-21 10:44:00 +01:00
Colin Goodheart-Smithe
1aea0faa86
Aggregations Refactor: Refactor Sampler Aggregation
2015-12-21 09:35:46 +00:00
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