Class FacetComponent.DistribFieldFacet
- java.lang.Object
-
- org.apache.solr.handler.component.FacetComponent.FacetBase
-
- org.apache.solr.handler.component.FacetComponent.FieldFacet
-
- org.apache.solr.handler.component.FacetComponent.DistribFieldFacet
-
- Enclosing class:
- FacetComponent
public static class FacetComponent.DistribFieldFacet extends FacetComponent.FieldFacet
This API is experimental and subject to change
-
-
Field Summary
Fields Modifier and Type Field Description List<String>[]
_toRefine
org.apache.lucene.util.FixedBitSet[]
counted
HashMap<String,FacetComponent.ShardFacetCount>
counts
FacetComponent.ShardFacetCount[]
countSorted
int
initialLimit
int
initialMincount
long[]
missingMax
long
missingMaxPossible
boolean
needRefinements
int
overrequestCount
double
overrequestRatio
int
termNum
-
Fields inherited from class org.apache.solr.handler.component.FacetComponent.FieldFacet
field, ftype, limit, minCount, missing, missingCount, offset, prefix, sort
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillParams(ResponseBuilder rb, org.apache.solr.common.params.SolrParams params, String field)
FacetComponent.ShardFacetCount[]
getCountSorted()
FacetComponent.ShardFacetCount[]
getLexSorted()
protected void
incCount(FacetComponent.ShardFacetCount sfc, long count)
void
respectMinCount(long minCount)
-
Methods inherited from class org.apache.solr.handler.component.FacetComponent.FacetBase
getExcludeTags, getKey, getTags, getThreadCount, getType
-
-
-
-
Field Detail
-
missingMaxPossible
public long missingMaxPossible
-
missingMax
public long[] missingMax
-
counted
public org.apache.lucene.util.FixedBitSet[] counted
-
counts
public HashMap<String,FacetComponent.ShardFacetCount> counts
-
termNum
public int termNum
-
initialLimit
public int initialLimit
-
initialMincount
public int initialMincount
-
overrequestRatio
public double overrequestRatio
-
overrequestCount
public int overrequestCount
-
needRefinements
public boolean needRefinements
-
countSorted
public FacetComponent.ShardFacetCount[] countSorted
-
-
Method Detail
-
fillParams
protected void fillParams(ResponseBuilder rb, org.apache.solr.common.params.SolrParams params, String field)
- Overrides:
fillParams
in classFacetComponent.FieldFacet
-
incCount
protected void incCount(FacetComponent.ShardFacetCount sfc, long count)
-
getLexSorted
public FacetComponent.ShardFacetCount[] getLexSorted()
-
getCountSorted
public FacetComponent.ShardFacetCount[] getCountSorted()
-
respectMinCount
public void respectMinCount(long minCount)
-
-