Module org.apache.lucene.facet
Package org.apache.lucene.facet
Class FacetsCollectorManager.FacetsResult
java.lang.Object
org.apache.lucene.facet.FacetsCollectorManager.FacetsResult
- Enclosing class:
FacetsCollectorManager
Holds results of a search run via static utility methods exposed by this class. Those include
TopDocs
as well as facets result included in the returned FacetsCollector
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFacetsResult
(TopDocs topDocs, FacetsCollector facetsCollector) Create a new instance of this class. -
Method Summary
-
Field Details
-
topDocs
-
facetsCollector
-
-
Constructor Details
-
FacetsResult
Create a new instance of this class.- Parameters:
topDocs
- the top docsfacetsCollector
- the facets result included in aFacetsCollector
instance
-
-
Method Details
-
topDocs
Exposed theTopDocs
- Returns:
- the top docs returned from the search
-
facetsCollector
Exposes the facet results- Returns:
- the facet results via a reduced
FacetsCollector
-