Package org.apache.solr.search.facet
Class FacetField
- java.lang.Object
-
- org.apache.solr.search.facet.FacetRequest
-
- org.apache.solr.search.facet.FacetField
-
public class FacetField extends FacetRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacetField.FacetMethod-
Nested classes/interfaces inherited from class org.apache.solr.search.facet.FacetRequest
FacetRequest.Domain, FacetRequest.FacetSort, FacetRequest.RefineMethod, FacetRequest.SortDirection
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_FACET_LIMIT-
Fields inherited from class org.apache.solr.search.facet.FacetRequest
domain, facetStats, processEmpty, subFacets
-
-
Constructor Summary
Constructors Constructor Description FacetField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetMergercreateFacetMerger(Object prototype)FacetProcessor<FacetField>createFacetProcessor(FacetContext fcontext)Map<String,Object>getFacetDescription()FacetRequest.RefineMethodgetRefineMethod()Returns null if unsetbooleanreturnsPartial()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
-
-
-
-
Field Detail
-
DEFAULT_FACET_LIMIT
public static final int DEFAULT_FACET_LIMIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
createFacetProcessor
public FacetProcessor<FacetField> createFacetProcessor(FacetContext fcontext)
- Specified by:
createFacetProcessorin classFacetRequest
-
createFacetMerger
public FacetMerger createFacetMerger(Object prototype)
- Specified by:
createFacetMergerin classFacetRequest
-
getFacetDescription
public Map<String,Object> getFacetDescription()
- Specified by:
getFacetDescriptionin classFacetRequest
-
getRefineMethod
public FacetRequest.RefineMethod getRefineMethod()
Description copied from class:FacetRequestReturns null if unset- Overrides:
getRefineMethodin classFacetRequest
-
returnsPartial
public boolean returnsPartial()
Description copied from class:FacetRequestReturns 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:
returnsPartialin classFacetRequest
-
-