Commit Graph

184 Commits

Author SHA1 Message Date
Honza Kral 0fb4a1193f text ids 2013-07-10 14:18:37 +02:00
Honza Kral 81130c5a06 Text ids 2013-07-10 14:16:04 +02:00
Honza Kral feb43df479 IDs are stings in json returned by ES, respect that 2013-07-10 14:10:53 +02:00
Clinton Gormley f268a9246c Improved formatting of test README 2013-07-02 11:28:50 +02:00
Clinton Gormley 00e520bcf4 Added tests for exists, get_source and mget 2013-07-01 16:03:37 +02:00
Clinton Gormley 660ec31ded Clarified that testing a field called "" (empty string) tests the whole $var 2013-07-01 16:03:03 +02:00
Clinton Gormley 6aa5b10f5d Added realtime/refresh tests to get 2013-07-01 16:02:38 +02:00
Clinton Gormley 66558ade75 meta-fields test should be fixed in 0.90.3 2013-07-01 16:01:24 +02:00
Clinton Gormley 0bc9ffbb23 Added test with missing type to get 2013-07-01 16:00:58 +02:00
Clinton Gormley 915a6986b9 Added a test with wrong parent to delete 2013-07-01 16:00:42 +02:00
Clinton Gormley 429a67e3ce Test for missing parent param when parent enabled in index/create/update 2013-07-01 16:00:12 +02:00
Clinton Gormley df94f08dab Renamed "ok" and "not_ok" to "is_true" and "is_false"
and tidied up the layout to make it easier to read
2013-07-01 15:58:23 +02:00
Clinton Gormley 846420904d Mget doesn't support "parent" and "routing" params in the query string 2013-07-01 13:14:16 +02:00
Clinton Gormley 8cb6c6ea00 Wait-for-yellow IS required for routing, otherwise can get
shard-not-available instead of missing
2013-06-30 20:02:32 +02:00
Clinton Gormley f4c9751c15 Added tests for update() 2013-06-28 19:44:13 +02:00
Clinton Gormley 17cdccb50f wait-for-yellow is not required for the routing tests 2013-06-28 19:42:37 +02:00
Clinton Gormley 63ad90a3a8 Added test skipping to the README 2013-06-28 17:42:00 +02:00
Clinton Gormley 262b047224 Added tests for delete 2013-06-28 17:22:32 +02:00
Clinton Gormley 051284c346 Added ignore_missing test to get/10_basic 2013-06-28 17:22:32 +02:00
Clinton Gormley 5dabc444ba Added a README explaining the functionality required to run the test suite 2013-06-27 12:55:16 +02:00
Clinton Gormley 04e6c62e1a Added tests for get 2013-06-27 11:34:44 +02:00
Clinton Gormley 7d0b0fb146 Added tests for create 2013-06-27 11:34:43 +02:00
Clinton Gormley f2455917e9 Fixed tests for info, ping and index 2013-06-27 11:34:43 +02:00
Clinton Gormley 7d98e42f8c Added tests for info, ping and index 2013-06-27 11:34:43 +02:00
Karel Minarik 3a359a1f2a [UTIL] Added a utility to print the list of APIs based on the JSON filenames 2013-06-24 18:13:29 +02:00
Karel Minarik 11db906004 Added the "get_source" API
Specific endpoint for:

    curl -XGET 'http://localhost:9200/twitter/tweet/1/_source'
2013-06-22 21:25:01 +02:00
Karel Minarik 2424828eaa Fixed, that `body` is not required in the "explain" API 2013-06-22 19:16:44 +02:00
Clinton Gormley 9c2847fddb Start adding the YAML test suite 2013-06-22 18:57:35 +02:00
Karel Minarik b3645bbeb9 Added missing parameters to the "delete_by_query" API
(Added parameters related to qs queries.)
2013-06-22 17:04:21 +02:00
Karel Minarik b966f74f4d Improved description for `index` parameter in "delete_by_query" API 2013-06-22 16:55:03 +02:00
Karel Minarik 4c0487d005 Added, that `body` is required in "percolate" API 2013-06-22 11:28:14 +02:00
Karel Minarik 21d17b8fd8 Added, that `body` is required in "msearch" 2013-06-21 22:35:25 +02:00
Karel Minarik b471ecad9b Added, that `body` is required in "mget" API 2013-06-21 18:38:55 +02:00
Karel Minarik 2a85552b6a Added the `q` URL parameter to the `indices.validate_query` API 2013-06-21 18:02:22 +02:00
Karel Minarik 7bf106ede6 [UTIL] Fixed whitespace in Ruby template for code generator 2013-06-21 16:58:41 +02:00
Karel Minarik 68d3beb8c3 Improved formatting of endpoint in `indices.stats` 2013-06-21 16:58:41 +02:00
Clinton Gormley 7e26a7eb8b Changed body to be required in update_aliases 2013-06-21 12:44:17 +02:00
Clinton Gormley 6eaccb2a6b Removed put_aliases as we already have update_aliases. 2013-06-21 12:44:10 +02:00
Karel Minarik fc97f8349b Revert cfd49f8: type is required in "indices.put_mapping"
Fixed required, fixed the path
2013-06-20 17:07:06 +02:00
Karel Minarik a30fc0a37a Fixed: `type` in "indices.put_mapping" is not required 2013-06-20 16:38:52 +02:00
Karel Minarik c1d2ada564 [UTIL] Set up `params` correctly in the Ruby template
When no params are specified in the spec, set `params` to empty Hash.
2013-06-20 15:13:58 +02:00
Karel Minarik e541dc14a3 [UTIL] Improve the body argument handling in the Ruby template 2013-06-20 15:12:22 +02:00
Karel Minarik 6e3dd51f94 [UTIL] Added support for required body in Ruby template for code generator 2013-06-20 15:06:49 +02:00
Karel Minarik 059f78e5e6 Fixed: body is required in `indices.put_aliases` 2013-06-20 15:06:20 +02:00
Karel Minarik aa503acf2d Fixed: body is not required in `indices.put_alias` 2013-06-20 15:05:37 +02:00
Karel Minarik 92f9f165ea Added the "Put Aliases" API 2013-06-20 13:05:06 +02:00
Karel Minarik 1dd08750b4 Corrected `timeout` description in the `indices.get_aliases` API 2013-06-20 13:05:06 +02:00
Karel Minarik b1e8e21fb6 Added, that `index` and `name` are required for `indices.put_alias` 2013-06-20 13:05:06 +02:00
Clinton Gormley a276671f86 Added timeout param to cluster.node_info 2013-06-20 11:44:02 +02:00
Clinton Gormley 2b91529c98 Added "version" param to delete and update 2013-06-20 11:34:18 +02:00