Martijn van Groningen
9399f673d1
percolator: Add support to extract terms from TermsQuery
2016-03-24 10:25:30 +01:00
Adrien Grand
e5074e2b1b
Make `parseMultiField` part of `parseField`. #17313
...
All our fields are supposed to support multi fields, so we could put the logic in
`TypeParsers.parseField` instead of duplicating the logic in every type parser.
2016-03-24 10:15:04 +01:00
Jim Ferenczi
8e749998f3
Merge pull request #17276 from jimferenczi/plugin_isolation
...
Enforce isolated mode for all plugins
2016-03-24 09:18:19 +01:00
Jim Ferenczi
da42f199bd
Enforce isolated mode for all plugins
...
This commit removes the isolated option, each plugin have its own classloader.
2016-03-24 09:17:33 +01:00
Alexander Reelsen
69b71e66f3
Fix compilation error
2016-03-24 08:49:36 +01:00
Alexander Reelsen
b2573858b6
Version: Set version to 5.0.0-alpha1
...
Change version, required a minor fix in the RPM building.
In case of a alpha/beta version, the release will contain alpha/beta
as the RPM version cannot contains dashes/tildes.
2016-03-24 08:36:08 +01:00
Jason Tedor
7ecfa6e2ad
Add debug logging for Vagrant upgrade test
2016-03-23 23:12:16 -04:00
Igor Motov
8202bf212c
Don't wait for completion of list tasks tasks when wait_for_completion flag is set
...
Waiting for completion of list tasks tasks can cause an infinite loop of a list tasks task waiting for its own completion or completion of its children. To reproduce run:
```
curl "localhost:9200/_tasks?wait_for_completion"
```
2016-03-23 23:00:15 -04:00
Jason Tedor
4aa5426361
Add guard against null-valued settings
...
This commit adds a guard against null-valued settings that are loaded
from yaml or json settings files, and also adds a test that ensures
the same remains true for settings loaded from properties files.
2016-03-23 22:35:50 -04:00
Igor Motov
201fc06f8d
Fix TaskId#isSet to return true when id is set and not other way around
...
During refactoring the name was changed, but the logic wasn't. This commit fixes the logic to match the name.
2016-03-23 18:52:22 -04:00
Jason Tedor
7d7faa7fcc
Merge pull request #17293 from jasontedor/property-placeholder-null-value
...
Useful error message for null property placeholder
2016-03-23 18:45:14 -04:00
Jason Tedor
17dd60dd31
Merge pull request #17208 from jasontedor/install-plugin-permissions
...
Install plugin permissions
2016-03-23 18:44:47 -04:00
Nik Everett
aaa4d57fff
[reindex] Don't attempt to refresh on noop
...
If the user asks for a refresh but their reindex or update-by-query
operation touched no indexes we should just skip the resfresh call
entirely. Without this commit we refresh *all* indexes which is totally
wrong.
Closes #17296
2016-03-23 18:12:40 -04:00
Areek Zillur
e16e113691
Remove suggest threadpool
...
In #17198 , we removed suggest transport action, which
used the `suggest` threadpool to execute requests. Now
`suggest` threadpool is unused and suggest requests are
executed on the `search` threadpool.
2016-03-23 18:01:45 -04:00
Jason Tedor
04e6e6c3e0
Fix cluster health API call
2016-03-23 17:06:45 -04:00
debadair
ad28fb9ec0
Docs: Adding Painless to the Scripting documentation.
2016-03-23 13:52:40 -07:00
Areek Zillur
442a6e0009
document suggest stats being merged with search stats
2016-03-23 16:37:57 -04:00
Areek Zillur
e7e93f98e3
add migration guide to use search api for suggest
2016-03-23 16:37:57 -04:00
Areek Zillur
b1ceaaddf4
remove dead code
2016-03-23 16:37:57 -04:00
Areek Zillur
de78621c95
simplify handling suggest-only search request
2016-03-23 16:37:56 -04:00
Areek Zillur
59513b308e
rename to isSuggestOnly
2016-03-23 16:37:56 -04:00
Areek Zillur
91dd9b3301
Merge suggest stats into search stats
2016-03-23 16:37:56 -04:00
Areek Zillur
ed49ec437f
remove suggest transport action
2016-03-23 16:37:56 -04:00
Areek Zillur
0eb2032189
Disable DFS search types and request caching for suggest-only requests
2016-03-23 16:37:56 -04:00
Areek Zillur
b0437c3f22
Optimize search execution for suggest-only requests
...
We skip context preprocessing and only execute
suggest phase for suggest-only requests
2016-03-23 16:37:56 -04:00
Areek Zillur
5ed2bb5f18
[REST] use search transport for suggest rest endpoint
2016-03-23 16:37:56 -04:00
Jason Tedor
d7874d9fdf
Merge pull request #17297 from jasontedor/upgrade-wait-for-yellow-indices
...
Wait for yellow indices when running upgrade test
2016-03-23 16:02:35 -04:00
Jason Tedor
033167de5b
Wait for yellow indices when running upgrade test
...
This commit makes the Vagrant upgrade test wait for yellow indices
before attempting to get documents from the upgraded Elasticsearch node.
2016-03-23 15:57:21 -04:00
Jason Tedor
0647638a99
Guard against null key for property placeholder
2016-03-23 14:57:01 -04:00
Ryan Ernst
6e74d1d0c9
Merge pull request #17289 from rjernst/cli-args
...
Cli: Reject positional argument for bin/elasticsearch
2016-03-23 11:53:32 -07:00
Ryan Ernst
0fe6c9f3b4
Add elasticsearch cli test for options plus illegal args
2016-03-23 11:52:25 -07:00
David Pilato
6e80b5f2dd
Merge branch 'fix/17244-s3-chunk-buffer-sizes'
2016-03-23 18:51:54 +01:00
Jason Tedor
0654b84d2c
Useful error message for null property placeholder
...
This commit adds the key to the error message when encountering a
missing property placeholder.
2016-03-23 13:25:39 -04:00
Jason Tedor
3f73ef9aa4
Protect max size virtual memory check from Windows
2016-03-23 12:35:01 -04:00
David Pilato
4b1ae331f0
Update after review
2016-03-23 17:32:51 +01:00
Ryan Ernst
f91a046b6f
Cli: Reject positional argument for bin/elasticsearch
...
This exits with a usage error when bin/elasticsearch recieves any
positional args.
closes #17287
2016-03-23 09:03:29 -07:00
Nik Everett
bbe0f3af3b
Merge pull request #17255 from simonw/patch-2
...
Link to named queries docs from bool query page
2016-03-23 11:51:40 -04:00
Christoph Büscher
a3fc4c0370
Merge pull request #17205 from cbuescher/sort-use-sortbuilders
...
Switch to using SortBuilder instead of BytesReference in serialization of SearchSource and elsewhere.
2016-03-23 16:25:02 +01:00
Christoph Büscher
e319985d93
Adding test for parsing sort on single fields as list
2016-03-23 15:27:53 +01:00
Isabel Drost-Fromm
9e1059be2b
Remove deprecated reverse option from sorting
...
Relates to #17047
2016-03-23 15:03:57 +01:00
Adrien Grand
940fc3f864
Move dynamic template matching logic to the MatchType enum. #17281
2016-03-23 14:53:26 +01:00
Honza Král
b139f4e0bf
[TEST] Move yaml test requiring yaml, add skip:yaml
...
Clients don't ship with yaml (de)serializer by default so this test must
be optionally skipped
2016-03-23 14:50:23 +01:00
Adrien Grand
c2ba4448b0
Fix test bug.
2016-03-23 14:42:36 +01:00
Christoph Büscher
41ddc6fa3f
Merge branch 'master' into sort-use-sortbuilders
...
Conflicts:
core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java
2016-03-23 14:30:53 +01:00
Jay Modi
ae1a68c10a
Merge pull request #17218 from jaymode/streaminput_availble
...
Implement available for all StreamInput classes
2016-03-23 09:15:24 -04:00
Christoph Büscher
f8e7462725
SortBuilder#toXContent should render full object
2016-03-23 14:10:47 +01:00
Christoph Büscher
b614e3e075
Switch to using refactored SortBuilder in SearchSourceBuilder and elsewhere
...
Switching from using list of BytesReference to real SortBuilder list in
SearchSourceBuilder, TopHitsAggregatorBuilder and TopHitsAggregatorFactory.
Removing SortParseElement and related sort parsers.
2016-03-23 13:49:52 +01:00
Simon Willnauer
4826782b37
wrap line at 140chars
2016-03-23 13:31:50 +01:00
Christoph Büscher
ececff357b
Merge pull request #17248 from cbuescher/sort-add-parse-list
...
Moving the current top level parsing for the "sort" element into a static "fromXContent" method in SortBuilder.
2016-03-23 13:04:37 +01:00
Christoph Büscher
2bb57b6f2c
Remove SortBuilderParser interface, using abstract methods in SortBuilder
2016-03-23 12:47:10 +01:00