org.elasticsearch.search.scan
Class ScanContext
java.lang.Object
org.elasticsearch.search.scan.ScanContext
public class ScanContext
- extends Object
The scan context allows to optimize readers we already processed during scanning. We do that by keeping track
of the count per reader, and if we are done with it, we no longer process it by using a filter that returns
null docIdSet for this reader.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScanContext
public ScanContext()
clear
public void clear()
execute
public org.apache.lucene.search.TopDocs execute(SearchContext context)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.