Jun Ohtani
0955c127c0
Rest: Add json in request body to scroll, clear scroll, and analyze API
...
Change analyze.asciidoc and scroll.asciidoc
Add json support to Analyze and Scroll, and clear scrollAPI
Add rest-api-spec/test
Closes #5866
2015-04-22 17:53:20 +09:00
javanna
07ca08dbed
[TEST] improved regular scroll REST test
...
Added sort clause by field and checked docs returned each time
2014-09-25 13:02:16 +02:00
javanna
dc1ef7e670
[TEST] improved regular scroll REST test
...
The intermediate document that gets indexed has now a non existing id, and we make sure it doesn't get returned.
2014-09-25 11:46:05 +02:00
javanna
f52375198b
[TEST] add regular scroll REST test
...
Closes #7860
2014-09-25 11:03:12 +02:00
Martijn van Groningen
145efbf6ea
Return missing (404) is a scroll_id is cleared that no longer exists.
...
Closes #5730
2014-05-12 09:43:56 +02:00
Alexander Reelsen
d356881664
[REST] Missing scroll id now returns 404
...
A bad/non-existing scroll ID used to return a 200, however a 404 might be more useful.
Also, this PR returns the right Exception (SearchContextMissingException) in the Java API.
Additionally: Added StatusToXContent interface and RestStatusToXContentListener listener, so
the appropriate RestStatus can be returned
Closes #5729
2014-05-05 17:37:26 +02:00
Martijn van Groningen
45a1b44759
Each search request should use a new InternalSearchResponse instance even in case when all shards return no hits.
...
The InternalSearchResponse may get modified afterwards, so a new instance required at all times.
2014-04-11 17:44:21 +07:00
Martijn van Groningen
01794bf8ea
Ignored clear scroll rest test
2014-04-11 13:47:41 +07:00
Martijn van Groningen
b400129597
The clear scroll apis now optionally accepts a scroll_id in it body.
...
Closes #5726
2014-04-11 10:39:59 +07:00
Clinton Gormley
de4a84ccee
Scroll test was missing an index - fails when other indices present
2013-09-16 20:56:32 +02:00
Honza Kral
5f4438f34c
Basic scroll tests
2013-07-16 16:43:47 +02:00