From d98ac9b6fc98068b1780264f67c36ea023883f14 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Thu, 1 Sep 2011 10:53:46 +0300 Subject: [PATCH] mark context processed in the correct place... --- .../src/main/java/org/elasticsearch/search/SearchService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/search/SearchService.java b/modules/elasticsearch/src/main/java/org/elasticsearch/search/SearchService.java index b82c99a72ca..5ff635804b5 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/search/SearchService.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/search/SearchService.java @@ -252,8 +252,8 @@ public class SearchService extends AbstractLifecycleComponent { try { contextProcessing(context); processScroll(request, context); - contextProcessedSuccessfully(context); queryPhase.execute(context); + contextProcessedSuccessfully(context); return new ScrollQuerySearchResult(context.queryResult(), context.shardTarget()); } catch (RuntimeException e) { logger.trace("Query phase failed", e);