Colin Goodheart-Smithe
a21238beda
Merge branch 'master' into feature/search-request-refactoring
...
# Conflicts:
# plugins/lang-groovy/src/test/java/org/elasticsearch/messy/tests/ChildQuerySearchTests.java
# plugins/lang-groovy/src/test/java/org/elasticsearch/messy/tests/IndexedScriptTests.java
# plugins/lang-groovy/src/test/java/org/elasticsearch/messy/tests/SearchFieldsTests.java
# plugins/lang-groovy/src/test/java/org/elasticsearch/messy/tests/SearchStatsTests.java
# plugins/lang-groovy/src/test/java/org/elasticsearch/messy/tests/SearchTimeoutTests.java
# plugins/lang-groovy/src/test/java/org/elasticsearch/messy/tests/SimpleSortTests.java
# plugins/lang-groovy/src/test/java/org/elasticsearch/script/groovy/GroovyScriptTests.java
# plugins/lang-groovy/src/test/java/org/elasticsearch/script/groovy/GroovySecurityTests.java
2015-09-29 14:40:27 +02:00
Robert Muir
e0d42739dd
Factor groovy out of core into lang-groovy
2015-09-28 20:17:45 -04:00
Colin Goodheart-Smithe
44722700b0
Merge branch 'feature/query-refactoring' into feature/search-request-refactoring
...
# Conflicts:
# core/src/test/java/org/elasticsearch/search/fetch/FetchSubPhasePluginIT.java
2015-09-25 13:04:50 +01:00
Martijn van Groningen
93ad696966
Index name expressions should not be broken up
...
Closes #13665
2015-09-25 11:28:52 +02:00
Colin Goodheart-Smithe
9f08d48d34
Merge branch 'feature/query-refactoring' into feature/search-request-refactoring
...
# Conflicts:
# core/src/main/java/org/elasticsearch/index/query/IndexQueryParserService.java
# core/src/test/java/org/elasticsearch/script/IndexedScriptIT.java
# core/src/test/java/org/elasticsearch/script/OnDiskScriptIT.java
2015-09-25 10:14:53 +01:00
Colin Goodheart-Smithe
2dce527b81
rest test fixes (hopefully)
2015-09-23 21:15:13 +01:00
Colin Goodheart-Smithe
4996b07205
update rest tests to expect default boost to be returned in warmer responses
2015-09-23 21:02:55 +01:00
Simon Willnauer
6c335f4a47
Parse source, extra-source and template-source on the coordinating node
...
This commit removes all the opaque bytes for extra_source and template_source.
Instead source and extra_source etc. are represented as SearchSourceBuilder which can
in-place be modified and is updated with the content of the request parameters.
Template Source is parsed and evaluated which in-turn replaces the actual source.
2015-09-23 12:24:07 +02:00
Robert Muir
689af1a6d6
Factor expressions scripts out to lang-expression plugin
2015-09-22 20:33:47 -04:00
Ryan Ernst
18c519145d
Remove unnecessary copies of license and notice files
...
We moved a lot of repositories into elasticsearch, but in their new
location they retained their LICENSE.txt and NOTICE.txt files. These are
all the same, and having the license and notice and the root of the
repository should be sufficient.
2015-09-18 17:48:30 -07:00
Nik Everett
820b721788
[test] Rename start to verify_index in cat test
...
This was renamed in other places but not here.
Closes #13489
2015-09-10 16:58:28 -04:00
Nik Everett
56c3471851
Fix test for _cat/nodeattrs
...
Adds a node attribute to all test runs and uses the attribute to test
`_cat/nodeattrs`.
Note that its quite possible create an impressively slow regex while doing
this and you have to be careful. See comment in commit for more if curious.
Closes #12558
2015-09-10 10:50:51 -04:00
Nik Everett
3839d15ea0
Merge branch 'pr/13130'
2015-09-10 10:13:01 -04:00
Nik Everett
2574b5e7f4
[test] Fix help test for _cat/shards
...
We added a new field and the help test didn't expect it to be there.
2015-09-10 09:35:03 -04:00
Martijn Laarman
8e7be8b552
part types are not string but list on the _search_shards endpoint
2015-09-10 12:02:11 +02:00
Martijn Laarman
aaf7116bfb
synced flush incorrectly documented url parameters as path parameters
2015-09-10 12:00:06 +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
Simon Willnauer
796701d52e
Move version to 3.0.0-SNAPSHOT
2015-09-03 10:43:28 +02:00
Isabel Drost-Fromm
8cd86a615a
Adds template support to _msearch resource
...
Much like we already do with search this adds templating support to the _msearch resource.
Closes #10885
2015-09-01 11:54:43 +02:00
Nik Everett
c180defb10
[CAT] Default verbose to false
...
Closes #13156
2015-08-28 11:15:44 -04:00
Nik Everett
9eb684da51
Default detect_noop to true
...
detect_noop is pretty cheap and noop updates compartively expensive so this
feels like a sensible default.
Also had to do some testing and documentation around how _ttl works with
detect_noop.
Closes #11282
2015-08-27 10:34:18 -04:00
Clinton Gormley
33e04083a7
Corrected some typos in the REST spec
2015-08-27 11:28:27 +02:00
Clinton Gormley
a254b2da29
REST spec: Added update_all_types to indices.put_mapping and indices.create
...
Closes #12840
2015-08-26 15:33:23 +02:00
Spencer
56d7cb8bd8
Update indices.shard_stores.json
...
Correct documentation url
2015-08-25 13:21:04 -07:00
David Pilato
c189c1a1ec
[maven] also rename artifactId for dev-tools and rest-api-spec
2015-08-18 13:41:12 +02:00
David Pilato
0014728a0d
[maven] rename maven names for parent, dev-tools and rest spec
...
Follow up for previous commit:
```
[INFO] Build Tools and Resources .......................... SUCCESS [ 0.158 s]
[INFO] Rest API Specification ............................. SUCCESS [ 0.002 s]
[INFO] Elasticsearch Parent POM ........................... SUCCESS [ 0.122 s]
```
2015-08-18 13:38:49 +02:00
Alexander Reelsen
d1c93fb573
Release: Remove aws-maven plugin/improve release docs
...
In order to have consistent deploys across several repositories,
we should deploy to sonatype first, then mirror those contents,
and then upload to s3.
This means, the aws wagon is not needed anymore.
2015-08-17 15:39:22 +02:00
Simon Willnauer
b447e2ae99
Move master to [2.1.0-SNAPSHOT]
2015-08-14 23:44:06 +02:00
Alexander Reelsen
e869c87119
Build: Adding aws-maven extension to dev-tools and rest-api-spec
2015-08-14 17:30:00 +02:00
Simon Willnauer
c1405d26b5
fixtypo
2015-08-14 15:27:23 +02:00
Simon Willnauer
dd1b0d84a6
Also deploy top level artifacts to S3
...
This commit adds the S3 wagon release profile also to dev-tools
and rest-api-spec and makes the actual repository path / bucket
configurable.
2015-08-14 15:21:06 +02:00
Simon Willnauer
605253a39f
Cut over master to 2.0.0-SNAPSHOT
2015-08-12 21:16:08 +02:00
Simon Willnauer
fe3179d9cc
Return `408 REQUEST_TIMEOUT` if `_cluster/health` times out
...
Today we return `200 OK` which is misleading since we really didn't
produce a valid response / didn't wait long enough.
2015-08-12 17:51:20 +02:00
Colin Goodheart-Smithe
6abc69c488
Packaging: Makes sure all POMs contain a description
...
Adds an explicit description the RPM package so it doesn't inherit the description from the POM.
Closes #12550
Also, modified descriptions for deb and rpm packages to be the same and to reference the documentation rather than listing features that are out of date.
2015-08-10 15:21:24 +01:00
Igor Motov
f71c9a25a1
Check for incompatible mappings while upgrading old indices
...
Conflicting mappings that were allowed before v2.0 can cause runaway shard failures on upgrade. This commit adds a check that prevents a cluster from starting if it contains such indices as well as restoring such indices from a snapshot into already running cluster.
Closes #11857
2015-08-04 18:13:29 -06:00
Robert Muir
6f9a067197
Change master branch back to 2.0-beta1
2015-08-04 15:38:21 -04:00
Simon Willnauer
2b2657279d
Use UTC instead of default timezone for creation date in CAT endpoint
...
this change was added recently which uses default timezone for the creation
date on CAT endpoints. We should be consistent and use UTC across the board.
This commit adds #getDefaultTimzone() to forbidden API and fixes the REST tests.
Relates to #11688
2015-08-04 14:38:23 +02:00
Simon Willnauer
6753f7f03e
Cut over master to 2.0.0-SNAPSHOT
2015-08-04 10:54:12 +02:00
Nik Everett
2078100390
[TESTS] cat indices times for UTC - timezones
2015-08-03 11:46:27 -04:00
szroland
94f8b8f2cf
remove extra space in test regexp
2015-08-02 21:52:00 +02:00
szroland
9bb904b155
testing output, both with default field names and shorthand aliases
2015-08-02 20:53:03 +02:00
Alexander Reelsen
291bac0f04
Tests: Silencing failing node attrs REST test
2015-07-30 17:48:01 +02:00
Dave Parfitt
f209809716
Add _cat/nodeattrs API
...
This provides a _cat/nodeattrs API call, which presents
custom node attributes in a denormalized table.
Closes #8000
2015-07-29 16:11:18 -04:00
Martijn van Groningen
a14913f7b6
Left over from the `query_cache` to `request_cache` rename.
2015-07-27 13:28:15 +02:00
Jason Tedor
8637784a2a
Add scroll stats to cat API
...
Adds scroll stats at the node, shard and index levels to the cat API.
Closes #12330
2015-07-19 13:41:46 -04:00
Areek Zillur
99363bd35d
[TEST] fix test bug
2015-07-16 18:57:04 -04:00
Areek Zillur
7a21d846bb
A new `_shard_stores` API provides store information for shard copies of indices.
...
Store information reports on which nodes shard copies exist, the shard
copy version, indicating how recent they are, and any exceptions
encountered while opening the shard index or from earlier engine failure.
closes #10952
2015-07-16 18:28:07 -04:00
Clinton Gormley
d4b94a9be2
Revert "REST: Fixed msearch and mpercolate structured exception tests"
...
This reverts commit f20b730eca
.
2015-07-16 17:06:45 +02:00
Clinton Gormley
f20b730eca
REST: Fixed msearch and mpercolate structured exception tests
2015-07-16 15:27:07 +02:00
Simon Willnauer
def08bd594
Render structured exceptions in mget / mpercolate
...
Instead of rendering only the exception message this commit
adds structured exception rendering to mget and mpercolate
2015-07-14 17:52:28 +02:00