mark context processed in the correct place...

This commit is contained in:
Shay Banon 2011-09-01 10:53:46 +03:00
parent 6693b86982
commit d98ac9b6fc
1 changed files with 1 additions and 1 deletions

View File

@ -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);