Martijn van Groningen
383e64bd5c
Aggregations: Add `children` bucket aggregator that is able to map buckets between parent types and child types using the already builtin parent/child support.
...
Closes #6936
2014-08-19 12:40:51 +02:00
David Pilato
122c2b7a12
Cli: parsing multiple times throws `AlreadySelectedException`
...
This issue has been fixed in commons-cli:1.3 project which sadly has not been released yet.
See https://issues.apache.org/jira/browse/CLI-183
This patch builds another list of options with no selected groups by default.
When commons-cli:1.3 will be released, we need to remove this patch.
Closes #7282 .
2014-08-19 10:55:41 +02:00
mikemccand
81ced48f99
Core: switch to fixed thread pool by default for management threads
...
Switch management threads to a fixed thread pool with up to 5 threads, and queue size of 100 by default, after which excess incoming requests are rejected.
Closes #7318
Closes #7320
2014-08-18 15:46:29 -04:00
Martijn van Groningen
95a4e699bf
[TEST] Don't invoke RoutingNodes.assertShardStats() via asserts many times in tests, just once on each reroute call.
2014-08-18 19:56:04 +02:00
Robert Muir
ae326c4232
Tests: tone down random compression tests
...
Closes #7314
2014-08-18 10:37:45 -04:00
Britta Weber
639692943f
Docs: Document distance type and sort mode for many to many geo_points
...
closes #7280
2014-08-18 16:15:55 +02:00
Britta Weber
9addac8300
function_score: remove explanation of query score from functions
...
The score is explained already, it should not be again explained per function.
Also, remove explanation from parameter list of ScoreFunction#explainScore()
and leave only the score.
This also removes ExplainableSearchScript which is not used anywhere and
was the only reason to have the Explanation in the parameter anyway.
closes #7245
2014-08-18 16:07:00 +02:00
Lee Hinman
99b0faed14
[DOCS] document simple_query_string's `lenient` option
2014-08-18 15:56:06 +02:00
Colin Goodheart-Smithe
fb651f7755
[TEST] fix for wildcard_expansion REST tests
...
removed timeout from wait_for_green and set number of replicas to 0 so client tests can pass on single node.
2014-08-18 14:36:43 +01:00
Colin Goodheart-Smithe
b2286915cd
Geo: Adds support for GeoJSON GeometryCollection
...
Closes #2796
2014-08-18 13:55:39 +01:00
Clinton Gormley
76b7b68605
Docs: Fixed header levels in setup/dir-layout.asciidoc
2014-08-18 13:38:28 +02:00
Clinton Gormley
e6b82bb15d
Docs: Fixed bad ID
2014-08-18 13:19:36 +02:00
Xiao Yu
4f417aa774
Docs: Update nested-filter.asciidoc
...
Fix whitespace to standardize on spaces for indents on both code examples for readability.
Closes #6568
2014-08-18 13:09:00 +02:00
Britta Weber
aa1dbc0778
Docs: Fix ambigous explanation of the "fields" parameter in `query_string` query
...
Closes #7292
2014-08-18 13:06:48 +02:00
Carsten Brandt
6a6c45e2d0
Docs: Update snapshots.asciidoc
...
Added a link so you directly get to the page that tells how to open/close an index.
Closes #7286
2014-08-18 13:04:25 +02:00
Konrad Feldmeier
3b3e2ed5e9
Docs: Remove the 'Factor' paragraph to reflect #6490
...
The current implementation of 'date_histogram' does not understand
the `factor` parameter. Since the docs shouldn't raise false hopes,
I removed the section.
Closes #7277
2014-08-18 13:02:15 +02:00
Mpampis Kostas
bf8c4f1155
Docs: Remove phrase duplication in api-conventions.asciidoc
...
Closes #7263
2014-08-18 13:01:12 +02:00
Mpampis Kostas
55b642abc5
Docs: Fix typo in phrase-suggest.asciidoc
...
Closes #7262
2014-08-18 13:00:30 +02:00
rdpatil4
a0b74695b7
Docs: Update frontends.asciidoc
...
Closes #7224
2014-08-18 12:59:31 +02:00
Phil Freo
59417f94f4
Docs: Fix minor typo in readme
...
Closes #7195
2014-08-18 12:58:49 +02:00
Krishna Raj
0f3ebc0876
Docs: Update integrations.asciidoc
...
Closes #7193
2014-08-18 12:57:45 +02:00
Clinton Gormley
24e66597fa
Update repositories.asciidoc
...
Added apt-get update to the commands for clarity.
Closes #7192
2014-08-18 12:57:08 +02:00
Akshay Kapoor
89088678c3
Docs: Updated typo in getting-started.asciidoc
...
A very small typo in the description.
Closes #7134
2014-08-18 12:42:23 +02:00
Clinton Gormley
9dfede8cbb
Update search-template.asciidoc
...
Remove extra commas in template query ;-)
Closes #7033
2014-08-18 12:35:18 +02:00
Clinton Gormley
6477e13c77
Typo
2014-08-18 12:30:49 +02:00
smayzak
8449128032
error in code
...
The top-tags and terms were reversed.
2014-08-18 12:28:53 +02:00
Mark Walkom
d75aabc5aa
Docs: Added tables for directory locations for deb+rpm and zip+tar.gz installs
...
Closes #6508
2014-08-18 12:21:25 +02:00
Chris Allen
f4328dcd45
Docs: Added Bloodhound Haskell client/DSL to docs
...
Closes #6031
2014-08-18 12:10:45 +02:00
Colin Goodheart-Smithe
2c69dc06d1
Mapping: Fixes using nested doc array with strict mapping
...
Closes #7304
2014-08-18 10:19:29 +01:00
Colin Goodheart-Smithe
925a4ba28b
[TEST] fix to wildcard_expansion tests to wait for green status
2014-08-18 10:18:12 +01:00
Alexander Reelsen
a207f8c7b1
Build: Changed license header definition file xml encoding to UTF-8
2014-08-18 10:55:32 +02:00
Adrien Grand
436e37cd76
Aggregations: Make the list of buckets for terms and histogram returned as a java.util.List.
...
The terms and histogram aggregations always have an order. So it would make the
response easier to consume to return the buckets as a list instead of a
collection in order to make it easier to do things like getting the first/last
buckets.
Close #7275
2014-08-18 09:25:32 +02:00
Igor Motov
0156bcbf32
Fix failed engine exception logging
2014-08-16 22:09:13 -04:00
uboness
40c63ad07a
Fixed a request headers bug in transport client
...
Where the configured request headers were not sent with sniffing requests (both node/info & cluster state sniffing)
2014-08-16 03:01:14 +02:00
Igor Motov
f4115b84a7
Add more logging for testSnapshotAndRestore backward compatibility test
2014-08-15 19:23:19 -04:00
Robert Muir
f85554d6ef
Merge pull request #7158 from uschindler/forbiddenapis-1.6-update
...
Update forbidden-apis to 1.6
Closes #7158
2014-08-15 10:28:27 -04:00
javanna
d0e2d768b8
Java api: fixed inconsistencies in PercolateRequest, added return type for method chaining where missing
...
Closes #7294
2014-08-15 15:57:14 +02:00
Robert Muir
5c7cefa292
Analysis: Add keep_types for filtering by token type
2014-08-15 09:28:12 -04:00
Colin Goodheart-Smithe
f4d75f0212
REST API: Allows all options for expand_wildcards parameter
...
This change means that the default settings for expand_wildcards are only applied if the expand_wildcards parameter is not specified rather than being set upfront. It also adds the none and all options to the parameter to allow the user to specify no expansion and expansion to all indexes (equivalent to 'open,closed')
Closes #7258
2014-08-15 12:50:11 +01:00
Gheorghita Catalin Bordianu
ca77db1c83
Fixed a typo
2014-08-14 16:27:30 +02:00
Britta Weber
d6312178ad
[TEST] remove unneeded explain(true)
...
closes #7248
2014-08-14 15:59:21 +02:00
Britta Weber
9bebccba0c
function_score: fix explanation, [ was missing
2014-08-14 15:59:19 +02:00
Adrien Grand
feefc41127
[TESTS] Make DisabledFieldDataFormatTests less evil.
2014-08-14 15:26:15 +02:00
Adrien Grand
a4f974dcaa
Internal: Add some @Nullable annotations and fix related compilation warnings.
...
Added @Nullable to:
- IndicesService.indexService
- IndexService.shard
- IndexService.shardInjector
This change doesn't try to do anything smart but just makes sure that a
*MissingException is thrown instead of a NullPointerException when the requested
object doesn't exist.
Close #7251
2014-08-14 14:55:52 +02:00
javanna
084793fca7
Internal: fixed wrong version check s/onOrBefore/before in TransportShardSingleOperationAction
...
relates to #7223
2014-08-14 14:19:37 +02:00
uboness
f4a7793f89
Introduced a new elasticsearch exception family that can hold headers
...
- These heades will be copied as response header on the rest response
2014-08-14 12:34:38 +02:00
Colin Goodheart-Smithe
7602b13a58
Geo: Improved error handling in geo_distance
...
geo_distance filter now throws a parse exception if no distance parameter is supplied
Close #7260
2014-08-14 10:25:01 +01:00
Alexander Reelsen
6023a3a1a1
Plugins: Add executable flag to every file in bin/ after install
...
The PluginManager does not preserve permissions on install. This patch
sets the executable flag on every file in bin/ on plugin install.
Closes #7177
2014-08-14 10:53:08 +02:00
javanna
4d05d1d7b0
Internal: adjusted BroadcastShardOperationResponse subclasses visibility
...
Also replaced int,String pair with ShardId that holds the same info and serializes it the same way.
Replaced shardId and index getters in BroadcastOperationRequest with a single ShardId getter.
Closes #7255
2014-08-13 17:38:18 +02:00
Areek Zillur
0b6734aa40
[DOCS] Clarify Completion Suggester output deduplication
2014-08-13 11:09:18 -04:00