public static class FacetMerger.Context extends Object
Constructor and Description |
---|
Context(int numShards) |
Modifier and Type | Method and 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) |
public void newShard(String shard)
public void setShard(String shard)
public int getNewBucketNumber()
public void setShardFlag(int bucketNum)
public boolean getShardFlag(int bucketNum, int shardNum)
public boolean getShardFlag(int bucketNum)
public boolean bucketWasMissing()
public boolean setBucketWasMissing(boolean newVal)
public Collection<String> getSubsWithRefinement(FacetRequest freq)
public Collection<String> getSubsWithPartial(FacetRequest freq)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.