Britta Weber
216c814a7f
remove default `_all` for `type` and `index` if these are missing in REST tests
...
If a type or path is missing in the REST test yaml file, it is
automatically replaced with _all. This makes it hard to test changes
in the api, for example adding the possibility to leave the index
blank in addition to _all and * in the uri.
closes #4657
2014-01-09 10:17:42 +01:00
Honza Král
623e4a0fc8
[TEST] remove old tests from yaml test suite
2014-01-07 16:19:06 +01:00
Honza Král
076a24af14
[TEST] split tests with parent to pre/post 1.0 in the yaml test suite
...
See #4506 for details
2014-01-02 20:04:24 +01:00
Martijn van Groningen
a7bb28c0e7
Made single shards APIs fail if routing is configured to be required in the mapping.
...
This change make single shard requests fail when no routing is specified and routing has been configured to be required in the mapping. Thi
Closes #4506
2014-01-02 10:47:53 +01:00
Boaz Leskes
4a91a243b1
Normalizing the source filtering params of get_source with the rest of the API
2013-10-11 12:29:17 +02:00
Boaz Leskes
87df522786
updated source filtering tests and spec
...
Fixed id tests to be strings.
Changed the _source_* param of get_source as they have changed in core.
2013-10-08 18:18:20 +02:00
Clinton Gormley
8e9a71341e
[TEST] get_source not supported before 0.90.1
2013-09-25 18:59:12 +02:00
Clinton Gormley
a78781cdc6
[API] Added _source,_source_include,_source_exclude to
...
* explain
* get
* mget
* search
* get_source
2013-09-23 13:23:25 +02:00
Spencer Alger
13719a4c2e
removed some spaces that cause my yaml parser to choke
2013-09-18 08:54:17 -07:00
Karel Minarik
397235e2f2
Changed the `ignore_missing` client parameter to `ignore: 404`
...
This should make easier any potential expansion such as:
client.update('index', 'type', 41, {...}, ignore: 409
Also restructured and renamed the test suite a bit as part of the commit.
---
This reverts commit 0b142cc8812d8d090e48ea0ad89c007767870b91, "Removed client-specific `ignore_missing` parameter".
2013-09-09 23:36:45 +02:00
Karel Minarik
cb4b04e49f
Added tests for default document type in `get` and `get_source` APIs
2013-09-09 23:36:45 +02:00
Karel Minarik
e784cff1b0
Revert "Changed the missing `type` to `_all` in "Get Source" test"
...
This reverts commit f834a8b9a18739ba97eba592be98ce6804082d37.
2013-09-09 23:36:45 +02:00
Karel Minarik
e1bfc0aa27
Changed the missing `type` to `_all` in "Get Source" test
2013-09-09 23:36:43 +02:00
Karel Minarik
081b3e3982
Removed client-specific `ignore_missing` parameter
...
This parameter can introduce confusion, since people might think this is something
working on Elasticsearch level, eg. passing it to `curl`
2013-09-09 23:36:43 +02:00
Boaz Leskes
dbc0823a77
Added version skip commands for source filtering tests
2013-07-30 14:00:23 +02:00
Boaz Leskes
495667facb
Added source filtering to tests
2013-07-30 13:30:45 +02:00
Honza Kral
77e427e707
skip clause for get_source tests
2013-07-11 13:50:59 +02:00
Clinton Gormley
00e520bcf4
Added tests for exists, get_source and mget
2013-07-01 16:03:37 +02:00