Class Range

java.lang.Object
org.apache.lucene.facet.range.Range
Direct Known Subclasses:
DoubleRange, LongRange

public abstract class Range extends Object
Base class for a single labeled range.
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • Field Details

    • label

      public final String label
      Label that identifies this range.
  • Constructor Details

    • Range

      protected Range(String label)
      Sole constructor.
  • Method Details

    • failNoMatch

      protected void failNoMatch()
      Invoke this for a useless range.