mark context processed in the correct place...
This commit is contained in:
parent
6693b86982
commit
d98ac9b6fc
|
@ -252,8 +252,8 @@ public class SearchService extends AbstractLifecycleComponent<SearchService> {
|
||||||
try {
|
try {
|
||||||
contextProcessing(context);
|
contextProcessing(context);
|
||||||
processScroll(request, context);
|
processScroll(request, context);
|
||||||
contextProcessedSuccessfully(context);
|
|
||||||
queryPhase.execute(context);
|
queryPhase.execute(context);
|
||||||
|
contextProcessedSuccessfully(context);
|
||||||
return new ScrollQuerySearchResult(context.queryResult(), context.shardTarget());
|
return new ScrollQuerySearchResult(context.queryResult(), context.shardTarget());
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
logger.trace("Query phase failed", e);
|
logger.trace("Query phase failed", e);
|
||||||
|
|
Loading…
Reference in New Issue