Hi All,
First of all, thanks for the nice work!

I found out that during a simple scan search (10 docs of 1 type, on 1 node,
1 index with 2 shards, no replicas, both v0.90.7 and v0.90.13),
I _always_ receive this exception in the node logs (and it happens once per
type when I have more):

[2014-04-28 10:22:07,937][DEBUG][action.search.type       ] [moxbook] [45]
Failed to execute query phase
org.elasticsearch.search.SearchContextMissingException: No search context
found for id [45]
at
org.elasticsearch.search.SearchService.findContext(SearchService.java:460)
at
org.elasticsearch.search.SearchService.executeScan(SearchService.java:211)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteScan(SearchServiceTransportAction.java:474)
at
org.elasticsearch.action.search.type.TransportSearchScrollScanAction$AsyncAction.executePhase(TransportSearchScrollScanAction.java:210)
at
org.elasticsearch.action.search.type.TransportSearchScrollScanAction$AsyncAction$2.run(TransportSearchScrollScanAction.java:180)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

What worries me is that apparently in my tests, it is able to scan all the
docs with no missing records,
so I don't know if it's "normal" to have logs like this or if in some cases
it will lead to problems.

I already saw that there's a closed issue at [5165], but I don't know if
the fix
was already included in the releases I tried, 0.90.7 (surely not) and
0.90.13 (?).

Changing SearchOperationThreading doesn't help.

You can see the relevant snippet I used to get the exception at [1],
maybe there is something missing there?

Could someone help to find out if it's ok, or where the fix was introduced?
PS: I didn't upgrade to 1.x yet.

Best,
Matteo

[5165] https://github.com/elasticsearch/elasticsearch/issues/5165
[1] https://gist.github.com/mox601/545c7176785ef209f7f3

-- 
Matteo Moci
http://mox.fm

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAONgFZ5_Mx-3be461Pu2Sgn4jp0N4f_gbjKAGh2nwUf9vRj5pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to