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 and Description
    `Context(int numShards)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `bucketWasMissing()`
    `int` | `getNewBucketNumber()`
    `boolean` | `getShardFlag(int bucketNum)`
    `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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Context

          public Context(int numShards)

  - ### 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)

    - #### bucketWasMissing

          public boolean bucketWasMissing()

    - #### setBucketWasMissing

          public boolean setBucketWasMissing(boolean newVal)

    - #### getSubsWithRefinement

          public Collection<String> getSubsWithRefinement(FacetRequest freq)

    - #### getSubsWithPartial

          public Collection<String> getSubsWithPartial(FacetRequest freq)

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.