Spencer
ff9999876c
[REST tests] prevent backtracking in cat.nodeattrs
2015-10-19 09:36:19 -07:00
Colin Goodheart-Smithe
4557d1b560
Merge branch 'master' into feature/search-request-refactoring
...
# Conflicts:
# plugins/lang-groovy/src/test/java/org/elasticsearch/messy/tests/FunctionScoreTests.java
2015-10-08 11:39:34 +01:00
Igor Motov
a358f34276
Expose nodes operation timeout in REST API
...
Currently it's not possible to specify a timeout for nodes operations (such as node info, node stats, cluster stats and hot threads) via REST-based APIs.
2015-10-07 18:07:59 -04:00
Robert
331d2d9955
Update update.json
...
Missing spec for [detect_noop](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html?q=update%20a#_literal_detect_noop_literal ) parameter.
2015-10-07 16:13:31 -04:00
Boaz Leskes
bcb3fab6ac
Engine: Remove Engine.Create
...
The `_create` API is handy way to specify an index operation should only be done if the document doesn't exist. This is currently implemented in explicit code paths all the way down to the engine. However, conceptually this is no different than any other versioned operation - instead of requiring a document is on a specific version, we require it to be deleted (or non-existent). This PR removes Engine.Create in favor of a slight extension in the VersionType logic.
There are however a couple of side effects:
- DocumentAlreadyExistsException is removed and VersionConflictException is used instead (with an improved error message)
- Update will reject version parameters if the upsert option is used (it doesn't compute anyway).
- Translog.Create is also removed infavor of Translog.Index (that's OK because their binary format was the same, so we can just read Translog.Index of the translog file)
Closes #13955
2015-10-07 12:37:34 +02:00
Greg Marzouka
9200c446a1
Merge pull request #13946 from elastic/fix/indices-get-restspec
...
Add options for indices.get feature
2015-10-06 14:28:11 -04:00
javanna
1915c74e93
Merge branch 'master' into feature/search-request-refactoring
2015-10-06 16:21:58 +02:00
javanna
f89de33548
Merge branch 'master' into feature/search-request-refactoring
2015-10-06 14:28:31 +02:00
Martijn Laarman
fd1cd60e78
Fix indices.get_field_mapping rest tests
...
After `field` has been renamed to `fields` in #13902
2015-10-06 12:40:08 +02:00
Martijn Laarman
a0fa83e3df
Merge pull request #13678 from elastic/fix/cluster-health-api
...
In cluster health REST spec, {index} can be one or many indices and should be typed to list.
2015-10-06 11:28:47 +02:00
Martijn Laarman
47871eb854
Merge pull request #13711 from elastic/fix/api-delete-search-template
...
id route value is required
2015-10-06 11:28:35 +02:00
Martijn Laarman
c12cb0b60a
Merge pull request #13889 from elastic/fix/indices-get-template-restspec
...
indices get template accepts a list of names
2015-10-06 11:28:13 +02:00
Martijn Laarman
536ee2b5eb
Merge pull request #13900 from elastic/fix/indices-open-restspec
...
indices.open takes a list of indices
2015-10-06 11:27:52 +02:00
Martijn Laarman
fd6652f59f
Merge pull request #13901 from elastic/fix/indices-close-restspec
...
indices.close takes a list of indices
2015-10-06 11:27:12 +02:00
Martijn Laarman
e4049ccd8e
Merge pull request #13902 from elastic/fix/get-field-mapping-restspec
...
Get field mapping documented fields as field
2015-10-06 11:26:46 +02:00
Honza Král
f2fa279af1
[test] remove index= from catch: /regex/ in date math tests
...
This breaks on some clients and is not required for the actual test
2015-10-05 20:52:52 +02:00
Greg Marzouka
eef34475fd
Add options for indices.get feature
...
As described here https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-index.html?q=get%20index#_filtering_index_information
2015-10-05 12:48:30 -04:00
Colin Goodheart-Smithe
ec51e8e31d
Merge branch 'master' into feature/search-request-refactoring
2015-10-05 13:31:52 +01:00
Martijn Laarman
6c7e135b49
Get field mapping documented fields as field
2015-10-02 12:54:07 +02:00
Martijn Laarman
80b5a58835
indices.close takes a list of indices
...
not single index
2015-10-02 12:30:40 +02:00
Martijn Laarman
c3f25a0713
indices.open takes a list of indices
...
not single index
2015-10-02 12:28:53 +02:00
Martijn Laarman
56cbbc4710
indices get template accepts a list of names
...
not just string
2015-10-01 20:32:22 +02:00
André Carvalho
03c6e8e1cb
Adds disk used by indices to _cat/allocation
...
Sets Store flag on request
2015-10-01 08:16:58 -03:00
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
Martijn Laarman
2ee82fc513
id route value is required
...
id route value is required
2015-09-22 13:08:37 +02:00
Martijn Laarman
fcd8606f98
{index} can be one or many indices and should be typed to list.
...
{index} can be one or many indices and should be typed to list.
2015-09-21 17:38:10 +02: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