Package org.apache.solr.search.facet
Class FacetMerger.Context
- java.lang.Object
-
- org.apache.solr.search.facet.FacetMerger.Context
-
- Enclosing class:
- FacetMerger
public static class FacetMerger.Context extends Object
-
-
Constructor Summary
Constructors Constructor Description Context(int numShards)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
bucketWasMissing()
int
getNewBucketNumber()
boolean
getShardFlag(int bucketNum)
boolean
getShardFlag(int bucketNum, int shardNum)
Collection<String>
getSubsWithPartial(FacetRequest freq)
Collection<String>
getSubsWithRefinement(FacetRequest freq)
void
newShard(String shard)
boolean
setBucketWasMissing(boolean newVal)
void
setShard(String shard)
void
setShardFlag(int bucketNum)
-
-
-
Method Detail
-
newShard
public void newShard(String shard)
-
setShard
public void setShard(String shard)
-
getNewBucketNumber
public int getNewBucketNumber()
-
setShardFlag
public void setShardFlag(int bucketNum)
-
getShardFlag
public boolean getShardFlag(int bucketNum, int shardNum)
-
getShardFlag
public boolean getShardFlag(int bucketNum)
-
bucketWasMissing
public boolean bucketWasMissing()
-
setBucketWasMissing
public boolean setBucketWasMissing(boolean newVal)
-
getSubsWithRefinement
public Collection<String> getSubsWithRefinement(FacetRequest freq)
-
getSubsWithPartial
public Collection<String> getSubsWithPartial(FacetRequest freq)
-
-