|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.Collector org.elasticsearch.search.facet.FacetCollector org.elasticsearch.search.facet.AbstractFacetCollector org.elasticsearch.search.facet.query.QueryFacetCollector
public class QueryFacetCollector
Field Summary |
---|
Fields inherited from class org.elasticsearch.search.facet.AbstractFacetCollector |
---|
facetName |
Constructor Summary | |
---|---|
QueryFacetCollector(java.lang.String facetName,
org.apache.lucene.search.Query query,
FilterCache filterCache)
|
Method Summary | |
---|---|
protected void |
doCollect(int doc)
|
protected void |
doSetNextReader(org.apache.lucene.index.IndexReader reader,
int docBase)
|
Facet |
facet()
|
void |
optimizedGlobalExecution(SearchContext searchContext)
|
Methods inherited from class org.elasticsearch.search.facet.AbstractFacetCollector |
---|
acceptsDocsOutOfOrder, collect, getFilter, setFilter, setNextReader, setScorer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryFacetCollector(java.lang.String facetName, org.apache.lucene.search.Query query, FilterCache filterCache)
Method Detail |
---|
protected void doSetNextReader(org.apache.lucene.index.IndexReader reader, int docBase) throws java.io.IOException
doSetNextReader
in class AbstractFacetCollector
java.io.IOException
protected void doCollect(int doc) throws java.io.IOException
doCollect
in class AbstractFacetCollector
java.io.IOException
public void optimizedGlobalExecution(SearchContext searchContext) throws java.io.IOException
optimizedGlobalExecution
in interface OptimizeGlobalFacetCollector
java.io.IOException
public Facet facet()
facet
in class FacetCollector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |