8 Commits

Author SHA1 Message Date
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
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
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
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