Package org.apache.solr.search.facet
Class FacetRange
- java.lang.Object
-
- org.apache.solr.search.facet.FacetRequest
-
- org.apache.solr.search.facet.FacetRange
-
public class FacetRange extends FacetRequest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.search.facet.FacetRequest
FacetRequest.Domain, FacetRequest.FacetSort, FacetRequest.RefineMethod, FacetRequest.SortDirection
-
-
Field Summary
-
Fields inherited from class org.apache.solr.search.facet.FacetRequest
domain, facetStats, processEmpty, subFacets
-
-
Constructor Summary
Constructors Constructor Description FacetRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetMerger
createFacetMerger(Object prototype)
FacetProcessor<FacetRange>
createFacetProcessor(FacetContext fcontext)
Map<String,Object>
getFacetDescription()
FacetRequest.RefineMethod
getRefineMethod()
Returns null if unsetboolean
returnsPartial()
Returns true if this facet can return just some of the facet buckets that match all the criteria.-
Methods inherited from class org.apache.solr.search.facet.FacetRequest
addStat, addSubFacet, canProduceFromEmpty, doRefine, getFacetStats, getSubFacets, parse, parseOneFacetReq, process, toString
-
-
-
-
Method Detail
-
createFacetProcessor
public FacetProcessor<FacetRange> createFacetProcessor(FacetContext fcontext)
- Specified by:
createFacetProcessor
in classFacetRequest
-
createFacetMerger
public FacetMerger createFacetMerger(Object prototype)
- Specified by:
createFacetMerger
in classFacetRequest
-
getFacetDescription
public Map<String,Object> getFacetDescription()
- Specified by:
getFacetDescription
in classFacetRequest
-
getRefineMethod
public FacetRequest.RefineMethod getRefineMethod()
Description copied from class:FacetRequest
Returns null if unset- Overrides:
getRefineMethod
in classFacetRequest
-
returnsPartial
public boolean returnsPartial()
Description copied from class:FacetRequest
Returns true if this facet can return just some of the facet buckets that match all the criteria. This is normally true only for facets with a limit.- Overrides:
returnsPartial
in classFacetRequest
-
-