Nik Everett
36a6211523
[doc] Add a note about shard failure in the api
...
Closes #13674
2015-10-06 16:24:39 -04:00
Britta Weber
a80a03f098
Merge pull request #13973 from brwe/conf-file-migration-doc
...
add paragraph about removal of conf file option
2015-10-06 19:39:15 +02:00
Britta Weber
df81497e9f
add paragraph about removal of conf file option
2015-10-06 19:36:48 +02:00
Alex
4077a322c5
Docs: Fix typo - datehistogram
...
date_histogram in place of datehistogram
Closes #13886
2015-10-06 19:22:21 +02:00
Britta Weber
71aefd5a06
remove option to configure custom config file via CONF_FILE or -Des.default.conf
...
It is rarely used and was not consistently handled by different distributions anyway.
This commit also adds a test for specifying CONF_DIR when installing plugins and
starting elasticsearch.
relates to #12712 and #12954
closes #5329
closes #13715
2015-10-06 19:02:43 +02:00
Alexander Reelsen
b7ae59d8af
Docs: Removed obsoleted MVEL paragraph
2015-10-06 18:55:34 +02:00
David Pilato
685c1f4a54
[discovery-ec2] network.host must be set
...
With 2.0, we now bind to `localhost` by default instead of binding to the network card and use its IP address.
When the discovery plugin gets from AWS API the list of nodes that should form the cluster, this list is pinged then. But as each node is bound to `localhost`, ping does not get an answer and the node elects itself as the master node.
`network.host` must be set.
Closes #13589 .
2015-10-06 11:18:47 +02:00
javanna
e8653f5156
Java api: IdsQueryBuilder to accept only non null ids and types
...
Types are still optional, but if you do provide them, they can't be null. Split the existing constructor that accepted nnull into two, one that accepts no arguments, and another one that accepts the types argument, which must be not null.
Also trimmed down different ways of setting ids, some were misleading as they would always add the ids to the existing ones and not set them, the add prefix makes that clear. Left `addIds` method that accepts a varargs argument. Added check for ids not be null.
2015-10-05 15:10:30 +02:00
xuzha
8434c79429
Update `cat allocation` doc
2015-10-02 10:25:27 -07:00
Clinton Gormley
07b0a63c5f
Merge pull request #13890 from veatch/patch-1
...
Clarify that aliases and indices can't share names
2015-10-02 18:11:54 +02:00
Clinton Gormley
5f1b867158
Update get-settings.asciidoc
...
Fixed docs for filtering index settings in get-settings API
Closes #13872
2015-10-02 16:46:45 +02:00
Clinton Gormley
8788516e1b
Merge pull request #13868 from hafkensite/patch-1
...
Update example with parameters
2015-10-02 16:24:05 +02:00
Jason Veatch
cb0003ff6c
Clarify that aliases and indices can't share names
2015-10-01 15:21:34 -04:00
Thomas Cucchietti
ecc2985b84
Update inner-hits.asciidoc
...
Fix a glitch in inner_hits feature documentation (though I'm not absolutely sure of the final version)
2015-09-30 11:07:51 +02:00
Clinton Gormley
0c0f530c31
Merge pull request #13781 from KimTaehee/master
...
fix typo "Seting" to "Setting"
2015-09-25 15:28:04 +02:00
javanna
eaafc62f53
[DOCS] added query-refactoring changes to 3.0 migrate guide
2015-09-25 14:55:37 +02:00
javanna
3d3197342d
Merge branch 'master' into merge/query-refactoring
2015-09-25 14:38:53 +02:00
Clinton Gormley
c2296b1d68
Merge pull request #13757 from andrestc/docs-now-time_zone
...
"now" is not affected by "time_zone" in range queries
2015-09-25 13:55:23 +02:00
javanna
3ac4da5f84
Merge branch 'master' into feature/query-refactoring
2015-09-25 13:53:06 +02:00
Clinton Gormley
e97b731c46
Merge pull request #13748 from bcoughlin/patch-1
...
Update put-mapping.asciidoc
2015-09-25 12:13:33 +02:00
javanna
629ac8e014
Java api: remove TermsLookupQueryBuilder
...
TermsLookupQueryBuilder was left around only for bw comp reasons, but TermsQueryBuilder is its replacement. We can remove it now that it is clear query refactoring goes in master (3.0).
2015-09-25 11:44:05 +02:00
javanna
34de79370f
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/ElasticsearchException.java
2015-09-25 09:38:24 +02:00
Taehee Kim
45e0ccd274
Fix typo
2015-09-25 06:42:21 +09:00
André Carvalho
070c836dce
Gives more emphasys
2015-09-24 11:30:00 -03:00
André Carvalho
d90fc8f7fd
Documents that now is not affected by time_zone in range queries
2015-09-23 22:00:49 -03:00
Jason Tedor
4fe243a5ca
Merge pull request #13701 from jasontedor/fix-ping-timeout-settings-inconsistency
...
Fix ping timeout settings inconsistencies
2015-09-23 13:17:46 -04:00
Jason Tedor
d8b29f7beb
Fix ping timeout settings inconsistencies
...
This commit fixes ping timeout settings inconsistencies in
ZenDiscovery. In particular, the documentation refers to the ping
timeout setting as discovery.zen.ping_timeout but the code was
ultimately using discovery.zen.ping.timeout if this was set.
This commit also changes all instances of the raw string
“discovery.zen.ping_timeout” to the constant
o.e.d.z.ZenDiscovery.SETTING_PING_TIMEOUT.
Finally, this commit removes the legacy setting
"discovery.zen.initial_ping_timeout".
Closes #6579 , #9581 , #9908
2015-09-23 12:58:23 -04:00
Christoph Büscher
dbb01f5b43
Query Refactoring: Move MoreLikeThisQueryBuilder validation to constructor
...
The current MoreLikeThisQueryBuilder validation checks for existence of at
least one `like` text or item. This is hard to check in setters, so this PR
tries to change the construction of the query so that we can do these checks
already at construction time.
Changing to using arrays for fieldnames, likeTexts, likeItems, unlikeTexts
and unlikeItems. `likeTexts` and/or `likeItems` need to be specified at
construction time to validate we have at least one item there.
Relates to #10217
2015-09-23 18:20:46 +02:00
xuzha
a77c68ba0e
Fix position-increment-gap doc example
2015-09-23 08:04:43 -07:00
ulkas
e133fdd49f
Update phrase-suggest.asciidoc
...
small sentence fix
2015-09-23 09:24:23 -04:00
Antonio Bonuccelli
0149ed41f4
Update settings.asciidoc
...
generalising to single dash
2015-09-23 14:54:51 +02:00
Antonio Bonuccelli
8da0f89739
Order of command line flags
...
specifying the order required for cli -Des notation arguments
2015-09-23 14:54:50 +02:00
Simon Willnauer
75e816400c
Remove TranslogService and fold it into synchronous IndexShard API
...
This commit moves the size and ops based flush into a synchronous API into
IndexShard and removes the time-based flush alltogether since it' basically
covered by the inactive async flush API we have today. The functionality doesn't
need to be covered by scheduled task and async APIs while we can actually make all
the decisions in a sync manner which is way easier to control and to test.
Closes #13707
2015-09-23 12:39:06 +02:00
javanna
7eedd84dc3
Query refactoring: refactor query_string query and score functions
...
Refactor the function_score query so it can be parsed on the coordinating node, split parse into fromXContent and toQuery, make FunctionScoreQueryBuilder Writeable.
Closes #13653
2015-09-23 11:32:54 +02:00
Clinton Gormley
67815eec47
Docs: Removed references to java 7 and debian wheezy
...
Related to #13694
2015-09-22 14:23:30 +02:00
Christoph Büscher
1aae68d2e8
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/CommonTermsQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/GeoPolygonQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/MatchQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/QueryParseContext.java
core/src/main/java/org/elasticsearch/index/query/QueryParser.java
2015-09-22 12:43:55 +02:00
Christoph Büscher
03035a28a3
Query Refactoring: moving validation to setters and constructors
...
Moving validation from validate() to constructors and setters for the
following query builders:
* GeoDistanceQueryBuilder
* GeoDistanceRangeQueryBuilder
* GeoPolygonQueryBuilder
* GeoShapeQueryBuilder
* GeohashCellQuery
* TermsQueryBuilder
Relates to #10217
2015-09-22 11:05:56 +02:00
Nik Everett
877754ba89
reword docs
2015-09-21 14:32:22 -04:00
Nik Everett
c67ad3fb2a
[docs] Note that no http settings are dynamic
...
Closes #13364
2015-09-21 13:58:07 -04:00
David Pilato
f230eabc15
[cloud-azure] Split azure plugin in 3 plugins
...
Until now we had a cloud-azure plugin which is providing 3 distinct features:
* discovery on Azure
* snapshot/restore on Aure
* SMB store
This commit splits the plugin by feature so people can use either one or the other or both features.
Doc is updated accordingly.
2015-09-21 17:55:23 +02:00
Christoph Büscher
cc69de5c5f
Merge branch 'master' into feature/query-refactoring
2015-09-21 15:38:43 +02:00
Clinton Gormley
1f76f49003
Update compound-word-tokenfilter.asciidoc
...
Improved the docs for compound work token filter.
Closes #13670
Closes #13595
2015-09-21 11:22:14 +02:00
Clinton Gormley
c08d5fdb24
Fixed some asciidoc confusion in index-modules.asciidoc
2015-09-19 18:14:36 +02:00
Clinton Gormley
fa77cf6f6f
Docs: Always quote "@file" argument to --data-binary
...
Closes #13500
2015-09-19 17:28:15 +02:00
Thomas Cucchietti
03488e3902
Docs: Update query_dsl.asciidoc
...
Minor orthographic fix
Closes #13452
2015-09-19 16:09:53 +02:00
Scott Kingsley Clark
50d984b935
SELECT state, COUNT(*) for clarity
...
Adding state to the SQL syntax to make it more clear, given that the buckets returned include the values of state AND count for each.
Closes #13597
2015-09-19 15:04:21 +02:00
Mark Walkom
fa56f1da79
Docs: Mention we use DEFLATE for best_compression
...
Closes #13549
2015-09-19 14:02:41 +02:00
Simon Willnauer
197313c19b
Merge branch 'master' into feature/query-refactoring
2015-09-18 20:11:25 +02:00
Britta Weber
542cf66c61
Update nodeattrs.asciidoc
2015-09-18 13:05:19 +02:00
Christoph Büscher
37b46fb79c
Query Refactoring: moving validation to constructors and setters
...
This PR is the second batch in moving the query validation we started
to collect in the validate() method to the corresponding setters
and constructors.
2015-09-17 23:30:42 +02:00
Christoph Büscher
887399eebf
Query Refactoring: moving validation to constructors and setters
...
This PR is an initial step to move the query validation we started
to collect in the validate() method to the corresponding setters
and constructors.
2015-09-17 13:57:34 +02:00
Alex Ksikes
a3c68f690b
Refactors MultiMatchQueryBuilder and Parser
...
Relates to #10217
This PR is against the query-refactoring branch.
Closes #13405
2015-09-16 13:41:22 +02:00
Christoph Büscher
8fb1aa9781
Refactors GeoDistanceQueryBuilder/-Parser
...
Splits parsing and Lucene query generation. Switches from storing lat/lon
separately to using GeoPoint instead.
Relates to #10217
2015-09-16 11:15:32 +02:00
Alex Ksikes
a13336da54
Refactors MoreLikeThisQueryBuilder and Parser
...
Relates to #10217
This PR is against the query-refactoring branch.
Closes #13486
2015-09-16 02:09:38 +02:00
Christoph Büscher
90f24c1a79
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/GeoDistanceRangeQueryParser.java
core/src/main/java/org/elasticsearch/index/query/GeoPolygonQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/GeohashCellQuery.java
core/src/main/java/org/elasticsearch/index/query/WrapperQueryBuilder.java
core/src/test/java/org/elasticsearch/search/child/ChildQuerySearchIT.java
2015-09-14 14:31:01 +02:00
Boaz Leskes
564e1eca42
merge from master
2015-09-14 09:03:45 +02:00
Lee Hinman
016ba3531a
Merge remote-tracking branch 'dakrone/remove-disable-decider'
2015-09-11 09:28:13 -06:00
Nik Everett
b205875c43
Merge pull request #13515 from elastic/docsfix
...
Fix for mappings->_source example in docs
2015-09-11 11:02:55 -04:00
Shane Connelly
d86c1e8769
Fixes #13417
2015-09-11 07:34:14 -07:00
javanna
73f7df510e
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/HasChildQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/HasChildQueryParser.java
core/src/main/java/org/elasticsearch/index/query/HasParentQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/HasParentQueryParser.java
core/src/main/java/org/elasticsearch/index/query/functionscore/FunctionScoreQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/functionscore/FunctionScoreQueryParser.java
core/src/main/java/org/elasticsearch/index/query/functionscore/factor/FactorParser.java
core/src/test/java/org/elasticsearch/ExceptionSerializationTests.java
core/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchBenchmark.java
core/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchShortCircuitBenchmark.java
core/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java
core/src/test/java/org/elasticsearch/percolator/PercolatorIT.java
core/src/test/java/org/elasticsearch/search/child/ChildQuerySearchIT.java
docs/reference/query-dsl/has-parent-query.asciidoc
2015-09-11 14:15:12 +02:00
Alexander Pepper
df9d4eca66
[docs] Document meaning of "FST" and "FSTs".
...
Conflicts:
docs/reference/index-modules/fielddata.asciidoc
2015-09-11 05:34:41 -04:00
Adrien Grand
86f1b07df0
Docs: Remove docs for the `filtered`, `and`, `or` and `(f)query` queries.
2015-09-11 11:00:54 +02:00
Boaz Leskes
1b8047e51c
merge master
2015-09-11 09:56:13 +02:00
Masaru Hasegawa
5ae00a6129
Take initializing shards into consideration during awareness allocation
...
It makes decision consistent.
Fixes #12522
2015-09-11 13:13:36 +09:00
Nik Everett
e4981968ad
[search] Limit the size of the result window
...
Requesting a million hits, or page 100,000 is always a bad idea, but users
may not be aware of this. This adds a per-index limit on the maximum size +
from that can be requested which defaults to 10,000.
This should not interfere with deep-scrolling.
Closes #9311
2015-09-10 15:38:29 -04:00
Alexander Reelsen
5d6ee7e82e
Docs: Update integration tests documentation
2015-09-10 19:05:15 +02:00
Martijn van Groningen
ab0847e0df
parent/child: several cleanups
...
* Dropped ScoreType in favour of Lucene's ScoreMode
* Removed `score_type` option from `has_child` and `has_parent` queries in favour for the already existing `score_mode` option.
* Removed the score mode `sum` in favour for the already existing `total` score mode. (`sum` doesn't exist in Lucene's ScoreMode class)
* If `max_children` is set to `0` it now really means that zero children are allowed to match.
2015-09-10 17:15:41 +02:00
javanna
56b3db6ba3
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/AndQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/AndQueryParser.java
core/src/main/java/org/elasticsearch/index/query/FQueryFilterParser.java
core/src/main/java/org/elasticsearch/index/query/FilteredQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/FilteredQueryParser.java
core/src/main/java/org/elasticsearch/index/query/HasChildQueryParser.java
core/src/main/java/org/elasticsearch/index/query/IndicesQueryParser.java
core/src/main/java/org/elasticsearch/index/query/LimitQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/LimitQueryParser.java
core/src/main/java/org/elasticsearch/index/query/MultiMatchQueryParser.java
core/src/main/java/org/elasticsearch/index/query/OrQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/OrQueryParser.java
core/src/main/java/org/elasticsearch/index/query/QueryFilterBuilder.java
core/src/main/java/org/elasticsearch/index/query/QueryFilterParser.java
core/src/main/java/org/elasticsearch/index/query/QueryParseContext.java
core/src/main/java/org/elasticsearch/index/query/ScriptQueryParser.java
core/src/main/java/org/elasticsearch/indices/query/IndicesQueriesRegistry.java
core/src/main/java/org/elasticsearch/search/sort/GeoDistanceSortParser.java
core/src/main/java/org/elasticsearch/search/sort/SortParseElement.java
core/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchShortCircuitBenchmark.java
core/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java
2015-09-10 15:52:28 +02:00
Martijn van Groningen
2eadc6d595
nested sorting: If sorting by nested field then the `nested_path` should always be specified.
...
Closes #13420
2015-09-10 12:21:12 +02:00
Christoph Büscher
90fac17a2d
Query refactoring: MatchQueryBuilder
...
This add equals, hashcode, read/write methods, separates toQuery and JSON parsing and adds tests.
Also moving MatchQueryBuilder.Type to MatchQuery to MatchQuery, adding serialization and hashcode,
equals there.
Relates to #10217
2015-09-10 12:14:55 +02:00
javanna
484fcd49e5
Query refactoring: query_string
...
Relates to #10217
2015-09-10 10:09:24 +02:00
javanna
db705ab460
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/mapper/internal/ParentFieldMapper.java
core/src/main/java/org/elasticsearch/index/query/HasChildQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/HasChildQueryParser.java
core/src/main/java/org/elasticsearch/index/query/HasParentQueryParser.java
core/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryParser.java
core/src/main/java/org/elasticsearch/index/search/child/ChildrenQuery.java
core/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java
core/src/test/java/org/elasticsearch/index/search/child/AbstractChildTestCase.java
core/src/test/java/org/elasticsearch/index/search/child/ChildrenConstantScoreQueryTests.java
core/src/test/java/org/elasticsearch/index/search/child/ChildrenQueryTests.java
core/src/test/java/org/elasticsearch/search/child/ChildQuerySearchBwcIT.java
core/src/test/java/org/elasticsearch/search/child/ChildQuerySearchIT.java
core/src/test/resources/org/elasticsearch/index/query/simple-query-string.json
2015-09-09 17:08:22 +02:00
Martijn van Groningen
73d84e4797
Merge pull request #13376 from martijnvg/remove_pre2x_slow_parent_child
...
Removed pre 2.x parent child implementation
2015-09-09 15:20:10 +02:00
David Pilato
35049a05c3
Allocation: add support for filtering by transport IP address
...
Allocation filtering by IP only works today using the node host address. But in some cases, you might want to filter using the publish address which could be different.
2015-09-09 15:15:53 +02:00
Martijn van Groningen
2fb2a12c52
Removed pre 2.x parent child implementation
2015-09-09 13:21:40 +02:00
Simon Willnauer
d2e53e0e0c
Split HasParentQueryParser into toQuery and formXContent
...
This commit splits HasParentQueryParser into toQuery and fromXContent.
This change also deprecates several keys in favor of simplified settings
and adds basic unittests for HasParentQueryParser.
Relates to #10217
2015-09-09 12:06:44 +02:00
Alex Ksikes
a45ee273e3
MLT: builder takes a new Item object like its parser
...
Previously the parser could take any Term Vectors request, but this would be
not the case of the builder which would still use MultiGetRequest.Item. This
introduces a new Item class which is used by both the builder and parser.
Beyond that the rest is mostly cleanups such as:
1) Deprecating the ignoreLike methods, in favor to using unlike.
2) Deprecating and renaming MoreLikeThisBuilder#addItem to addLikeItem.
3) Ordering the methods of MoreLikeThisBuilder more logically.
This change is needed for the upcoming query refactoring of MLT.
Closes #13372
2015-09-09 11:40:27 +02:00
Nicholas Knize
e4e71d8a9a
add points_only option to GeoShapeFieldMapper for optimizing indexing performance on geo_shape indexes designed to store only points. Includes updated documentation and exception handling for ensuring index integrity on points only data.
2015-09-08 16:17:50 -05:00
Ryan Ernst
55795f8ec2
Merge pull request #13383 from rjernst/go_away_transport_paths
...
Remove environment from transport client
2015-09-08 13:28:21 -07:00
David Pilato
81223179df
[doc] Java add missing breaking changes
...
Closes #13151
2015-09-08 21:23:20 +02:00
Ryan Ernst
86ffa38ec7
Add migration guide note about transport client changes to
...
settings/environment
2015-09-08 10:22:46 -07:00
Simon Willnauer
18bec264f9
Split HasChildQueryParser into toQuery and formXContent
...
This is an intial commit that splits HasChildQueryParser / Builder into
the two seperate steps. This one is particularly nasty since it transports
a pretty wild InnerHits object that needs heavy refactoring. Yet, this commit
has still some nocommits and needs more tests and maybe another cleanup but
it's a start to get the code out there.
2015-09-08 17:11:57 +02:00
javanna
f2605b34d6
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/ScriptQueryParser.java
2015-09-08 16:11:22 +02:00
Clinton Gormley
2c20658204
Docs: Added deprecation notice for _timestamp and _ttl
2015-09-07 21:16:19 +02:00
Clinton Gormley
8aba6ce93a
Docs: Improved the date histogram docs for time_zone and offset
2015-09-07 19:54:00 +02:00
Martijn van Groningen
11c87106ce
docs: inner hits is no longer experimental
2015-09-07 16:58:46 +02:00
Adrien Grand
0c26e7cd83
Remove the scan and count search types.
...
These search types have been deprecated in 2.1 and 2.0 respectively, and will
be removed in 3.0.
2015-09-07 15:18:45 +02:00
Zachary Tong
397d5beae1
Aggregations: Add stats_bucket / extended_stats_bucket pipeline aggregations
...
These are the complements to the stats/extended_stats metric aggregations, and can be used
to calculate a variety of statistics over buckets
2015-09-04 15:23:48 -04:00
javanna
be3409f1db
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/AndQueryParser.java
core/src/main/java/org/elasticsearch/index/query/BoolQueryParser.java
core/src/main/java/org/elasticsearch/index/query/ExistsQueryParser.java
core/src/main/java/org/elasticsearch/index/query/GeoShapeQueryParser.java
core/src/main/java/org/elasticsearch/index/query/MissingQueryParser.java
core/src/main/java/org/elasticsearch/index/query/OrQueryParser.java
core/src/main/java/org/elasticsearch/index/query/QueryParseContext.java
core/src/main/java/org/elasticsearch/index/query/SimpleQueryStringParser.java
core/src/main/java/org/elasticsearch/index/query/SpanContainingQueryParser.java
core/src/main/java/org/elasticsearch/index/query/SpanWithinQueryParser.java
core/src/main/java/org/elasticsearch/index/query/TermsQueryParser.java
core/src/main/java/org/elasticsearch/search/sort/GeoDistanceSortParser.java
core/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java
core/src/test/java/org/elasticsearch/index/search/child/AbstractChildTestCase.java
2015-09-04 19:21:38 +02:00
Zachary Tong
c5b39ce85e
[DOCS] Fix broken inter-page link
2015-09-03 23:17:01 -04:00
Zachary Tong
1016734b4c
Aggregations: Add percentiles_bucket pipeline aggregations
...
This pipeline will calculate percentiles over a set of sibling buckets. This is an exact
implementation, meaning it needs to cache a copy of the series in memory and sort it to determine
the percentiles.
This comes with a few limitations: to prevent serializing data around, only the requested percentiles
are calculated (unlike the TDigest version, which allows the java API to ask for any percentile).
It also needs to store the data in-memory, resulting in some overhead if the requested series is
very large.
2015-09-03 22:24:14 -04:00
Robert Muir
f216d92d19
Upgrade to lucene 5.4-snapshot r1701068
2015-09-03 15:13:33 -04:00
Lee Hinman
ffb2f75305
Remove DisableAllocationDecider
...
The `EnableAllocatiorDecider` has replaced the
`DisableAllocationDecider`, which has been deprecated. It can now be
removed.
2015-09-03 09:10:48 -06:00
javanna
fa93cc7b89
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/test/java/org/elasticsearch/ExceptionSerializationTests.java
2015-09-03 13:02:49 +02:00
Britta Weber
8e4e98099d
Merge pull request #13307 from brwe/doc-script-fix
...
[doc] remove comment about function_score faster than script sort. It…
2015-09-03 12:36:33 +02:00
Britta Weber
2b27bc11b6
[doc] remove comment about function_score faster than script sort. It is not so.
2015-09-03 12:33:00 +02:00
David Pilato
4bffdbfafc
[doc] fix cross link between core and plugins doc
...
For ec2 and s3
2015-09-03 12:11:58 +02:00
David Pilato
30aa231f8e
[plugin] split cloud-aws in repository-s3 and discovery-ec2
...
Until now we had a cloud-aws plugin which is providing 2 disctinct features:
* discovery on EC2
* snapshot/restore on S3
This commit splits the plugin by feature so people can use either one or the other or both features.
Doc is updated accordingly.
2015-09-03 11:12:20 +02:00
Adrien Grand
bd44dbe5cd
Docs: Insist that setting size=0 will help performance.
2015-09-03 09:36:34 +02:00
javanna
52be313c69
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/BoolQueryParser.java
core/src/main/java/org/elasticsearch/index/query/IdsQueryParser.java
core/src/main/java/org/elasticsearch/index/query/SimpleQueryStringParser.java
core/src/main/java/org/elasticsearch/index/query/TemplateQueryParser.java
core/src/main/java/org/elasticsearch/index/query/TermsQueryParser.java
core/src/main/java/org/elasticsearch/index/query/functionscore/fieldvaluefactor/FieldValueFactorFunctionParser.java
core/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/GND.java
core/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/JLHScore.java
core/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/NXYSignificanceHeuristic.java
core/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/PercentageScore.java
core/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/ScriptHeuristic.java
core/src/test/java/org/elasticsearch/search/aggregations/bucket/SignificantTermsSignificanceScoreIT.java
2015-09-02 16:00:35 +02:00