java.lang.Object
org.apache.lucene.sandbox.facet.FacetFieldCollector
- All Implemented Interfaces:
Collector
Collector
that brings together FacetCutter
and FacetRecorder
to compute
facets during collection phase.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFacetFieldCollector
(FacetCutter facetCutter, FacetRecorder facetRecorder) Collector for cutter+recorder pair. -
Method Summary
Modifier and TypeMethodDescriptiongetLeafCollector
(LeafReaderContext context) Create a newcollector
to collect the given context.Indicates what features are required from the scorer.
-
Field Details
-
facetCutter
-
facetRecorder
-
-
Constructor Details
-
FacetFieldCollector
Collector for cutter+recorder pair.
-
-
Method Details
-
getLeafCollector
Description copied from interface:Collector
Create a newcollector
to collect the given context.- Specified by:
getLeafCollector
in interfaceCollector
- Parameters:
context
- next atomic reader context- Throws:
IOException
-
scoreMode
Description copied from interface:Collector
Indicates what features are required from the scorer.
-