Boaz Leskes
ea4a908bdb
Added field mapping API tests which use wild cards
...
See: https://github.com/elasticsearch/elasticsearch/issues/4367
2013-12-11 15:00:33 +01:00
Clinton Gormley
381436843d
[TEST] Fixed suggestion tests for 1.0.0.Beta1
...
Results order has changed because the standard analyzer no
longer removes stopwords
2013-11-07 14:26:22 +01:00
Clinton Gormley
602c3b6782
[TEST] Renamed _percolator to .percolator
2013-11-07 14:25:24 +01:00
Clinton Gormley
c579164a88
[TEST] Fixed bad indentation on realtime_refresh tests
2013-11-05 13:28:47 +01:00
Karel Minarik
e051c8a663
[TEST] Create the index with `number_of_replicas: 0` for "Realtime Refresh" tests
2013-11-05 11:24:31 +01:00
Karel Minarik
da9da0c7a2
[TEST] Removed the `skip` in the common test "setup" definition
...
Until the issue with skipping tests en masse is resolved, let's use individual `skip` statements,
as supported in current YAML runners.
2013-11-05 10:05:34 +01:00
Karel Minarik
e49683a5ee
[TEST] Fixed incorrect `skip` behaviour in the "Get Field Mapping" API tests
2013-11-05 09:47:02 +01:00
Clinton Gormley
57894b70f4
[TEST] Test for get_field_mapping was calling get_mapping
2013-11-02 13:21:06 +01:00
Boaz Leskes
ebdde4ea46
Added spec + tests for the GetFieldMapping API
...
Introduced in https://github.com/elasticsearch/elasticsearch/issues/3941
2013-10-30 19:19:35 +01:00
Clinton Gormley
cf795cfe4c
[TEST] Corrected YAML syntax in mget/70_source_filtering
...
and broke it up into multiple tests which are easier to debug
2013-10-26 13:09:37 +02:00
Zachary Tong
e5daab0b6b
Remove unescessary newline continuation
...
Newline continuation causes some yaml parsers to interpret the
hash as a string instead of a proper hash
2013-10-25 14:14:12 -04:00
Boaz Leskes
d202d3386a
Added brackets to a do command.
2013-10-11 12:29:44 +02: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
Zachary Tong
6e2deaa4b7
Get all templates not available before 0.90.3
2013-10-09 13:11:00 +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
a958d5a63d
[TEST] In the open indices test, wait for yellow after opening
2013-09-25 19:29:16 +02:00
Clinton Gormley
7d6869e149
[TEST] single alias APIs not supported before 0.90.1
2013-09-25 18:59:12 +02:00
Clinton Gormley
8e9a71341e
[TEST] get_source not supported before 0.90.1
2013-09-25 18:59:12 +02:00
Clinton Gormley
e283e0dc38
[TEST] Fixed the delete_template test so that it works for 0.90.*
2013-09-25 13:54:08 +02:00
Clinton Gormley
766d6e60ea
[TEST] The get_mapping change in format is in master, not 0.90.*
2013-09-25 13:39:58 +02:00
Clinton Gormley
8a4d668227
Percolation results have changed in master
2013-09-23 13:53:45 +02:00
Clinton Gormley
be8fad31cf
The get_mapping tests were the wrong way around
2013-09-23 13:53:32 +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
Clinton Gormley
5a31353fb0
Updated the test README to allow multiple test sections and an initial setup section
2013-09-18 15:54:58 +02:00
Clinton Gormley
e957aa3364
Changed the get_mapping test to handle versions correctly
2013-09-18 15:29:40 +02:00
Clinton Gormley
1eed74c9be
Moved get-missing template tests into their own file
2013-09-18 15:29:21 +02:00
Clinton Gormley
853b661789
Removed the regression tests for aliases - missing index etc
...
should be caught by the client before it hits ES
2013-09-18 15:28:51 +02:00
Clinton Gormley
0ff03b5652
Fixed the skip range on percolator tests
2013-09-17 14:28:26 +02:00
Clinton Gormley
f3e69a150d
Fixed put_template test to work with 0.90.3 onwards, where
...
a missing template now throws a 404
2013-09-17 14:28:14 +02:00
Clinton Gormley
59ca459b1c
Fixed indices.open test - need to wait for shards to be allocated
...
before trying to close the index
2013-09-17 14:16:18 +02:00
Clinton Gormley
1279a29ee3
Explain returns a 1, not 1.0
2013-09-16 20:56:59 +02:00
Clinton Gormley
e0e4b6b4dc
Rename weird-index to start with test- so that it gets cleaned up
2013-09-16 20:56:48 +02:00
Clinton Gormley
de4a84ccee
Scroll test was missing an index - fails when other indices present
2013-09-16 20:56:32 +02:00
Clinton Gormley
3011201a51
Fixed indentation on an analyzer test
2013-09-16 20:56:12 +02:00
Karel Minarik
81ffa94937
Added an example of test `setup` into the `indices.analyze` API
2013-09-12 10:27:46 +02: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
bd9befbc80
Revert "Changed the missing `type` to `_all` in "Get" test"
...
This reverts commit c7b376a4222d68788c59ffefbaaeae33d70536b8.
2013-09-09 23:36:45 +02:00
Karel Minarik
d0a282727f
Renamed the "All indices" test for `_search` API to "Default index"
...
This reverts commit 51713399e943412866e95cf94f341cb4625ef831.
2013-09-09 23:36:44 +02:00
Karel Minarik
62a489b07b
Added test for client-side default document type in `exists` API
...
This reverts commit f6f037e6b15b51023c6ca45adbd394fd16e714f1.
2013-09-09 23:36:44 +02:00
Karel Minarik
4e0396768b
Improved and fixed "Get Mapping" tests
...
* Fixed error in `skip` explanation for "get type" test
* Separated the tests for getting index/type mapping
I vote for removing the "get type" test entirely, since it just tests ancient versions.
2013-09-09 23:36:44 +02:00
Karel Minarik
690151516d
Fixed incorrect test names in "Update" fields / meta-fields tests
2013-09-09 23:36:44 +02:00
Karel Minarik
ad3bf79c6a
Changed the "Indices Analyze" test to better correspond with the new test structure
...
1. Move the "text format" test into separate file
2. Remove the "JSON format" from test names
2013-09-09 23:36:44 +02:00
Karel Minarik
1300982e22
Removed test "setup" in "Indices Analyze" test
...
When the runner contract is specified as "run all the tests in the file in sequence,
resetting cluster after each file", it makes is hard to translate the concept into
regular Test::Unit environment.
Changed the "Analyze API JSON format - index and field" test to perform the necessary
setup as part of the test code.
2013-09-09 23:36:44 +02:00
Karel Minarik
46059673ef
Changed the missing `type` to `_all` in "Get" test
2013-09-09 23:36:44 +02:00
Karel Minarik
7933dbe205
Corrected test names for "Bulk" test suite
2013-09-09 23:36:43 +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
a4228bf2bc
Changed the "default index/type" to use `index: _all` and renamed to "All indices"
2013-09-09 23:36:43 +02:00