Permalink
Browse files

no need to log each scroll ID when scanning through a search

  • Loading branch information...
Dhruv Bansal
Dhruv Bansal committed Aug 9, 2012
1 parent 31d673f commit 04d0d3c6ae282525144cc5ced9386c9f3114d3f7
@@ -72,11 +72,11 @@ private void fetchNextHits() {
//
// fetchNextHits();
} else {
- LOG.info("Running query for scroll ID "+scrollId+" with timeout "+scrollTimeout);
+ // LOG.info("Running query for scroll ID "+scrollId+" with timeout "+scrollTimeout);
SearchScrollRequestBuilder request = split.scrollRequest(client, scroll, scrollId);
SearchResponse response = request.execute().actionGet();
this.scrollId = response.scrollId();
- LOG.info("Got scroll ID "+scrollId);
+ // LOG.info("Got scroll ID "+scrollId);
this.hitsItr = response.hits().iterator();
}
}

0 comments on commit 04d0d3c

Please sign in to comment.