Good Morning,
After initiating a scan search, After receiving about 44 pages, I receive
numerous exceptions on the server, like so,
[2012-11-27 11:10:27,966][DEBUG][action.search.type ] [Mercator] [3]
Failed to execute query phase
org.elasticsearch.search.SearchContextMissingException: No search context
found for id [3]
at
org.elasticsearch.search.SearchService.findContext(SearchService.java:451)
at
org.elasticsearch.search.SearchService.executeScan(SearchService.java:200)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteScan(SearchServiceTransportAction.java:412)
at
org.elasticsearch.action.search.type.TransportSearchScrollScanAction$
AsyncAction.executePhase(TransportSearchScrollScanAction.java:204)
at
org.elasticsearch.action.search.type.TransportSearchScrollScanAction$
AsyncAction.access$700(TransportSearchScrollScanAction.java:81)
at
org.elasticsearch.action.search.type.TransportSearchScrollScanAction$
AsyncAction$2.run(TransportSearchScrollScanAction.java:177)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
After a few more partial page retrievals, like so,
{"_scroll_id":"c2NhbjsyOzI6UTNYLXBKdmRRZTZjdzV5QTRYbEJfdzs0OllJcy1rOUdxVF9TNzBLNnU3ekVuT2c7MTt0b3RhbF9oaXRzOjEzNzA1Ow==","took":63,"timed_out":false,"_shards":{"total":6,"successful":4,"failed":2,"failures":[{"status":500,"reason":"SearchContextMissingException[No
search context found for id
[2]]"},{"status":500,"reason":"RemoteTransportException[[Ortelius][inet[/10.100.201.157:9300]][search/phase/scan/scroll]];
nested: SearchContextMissingException[No search context found for id [1]];
With each subsequent retrieval, failure rate increases, eventually to total
failure.
Is this due to cluster health? or am I doing something wrong? I noticed the
scroll_id sent back from the server grows shorter and short, is that
normal?
any help would be greatly appreciated..
--