Class LongValuesSource.LongValuesComparatorSource

java.lang.Object
org.apache.lucene.search.FieldComparatorSource
org.apache.lucene.search.LongValuesSource.LongValuesComparatorSource
Enclosing class:
LongValuesSource

private static class LongValuesSource.LongValuesComparatorSource extends FieldComparatorSource
  • Field Details

    • producer

      private final LongValuesSource producer
    • missingValue

      private long missingValue
  • Constructor Details

    • LongValuesComparatorSource

      public LongValuesComparatorSource(LongValuesSource producer)
  • Method Details

    • setMissingValue

      void setMissingValue(long missingValue)
    • newComparator

      public FieldComparator<Long> newComparator(String fieldname, int numHits, boolean enableSkipping, boolean reversed)
      Description copied from class: FieldComparatorSource
      Creates a comparator for the field in the given index.
      Specified by:
      newComparator in class FieldComparatorSource
      Parameters:
      fieldname - Name of the field to create comparator for.
      Returns:
      FieldComparator.