org.elasticsearch.index.search.child
Class ChildCollector
java.lang.Object
org.apache.lucene.search.Collector
org.elasticsearch.index.search.child.ChildCollector
public class ChildCollector
- extends org.apache.lucene.search.Collector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildCollector
public ChildCollector(String parentType,
SearchContext context)
parentDocs
public Map<Object,org.apache.lucene.util.FixedBitSet> parentDocs()
setScorer
public void setScorer(org.apache.lucene.search.Scorer scorer)
throws IOException
- Specified by:
setScorer
in class org.apache.lucene.search.Collector
- Throws:
IOException
collect
public void collect(int doc)
throws IOException
- Specified by:
collect
in class org.apache.lucene.search.Collector
- Throws:
IOException
setNextReader
public void setNextReader(org.apache.lucene.index.IndexReader reader,
int docBase)
throws IOException
- Specified by:
setNextReader
in class org.apache.lucene.search.Collector
- Throws:
IOException
acceptsDocsOutOfOrder
public boolean acceptsDocsOutOfOrder()
- Specified by:
acceptsDocsOutOfOrder
in class org.apache.lucene.search.Collector
Copyright © 2009-2012. All Rights Reserved.