Class FieldComparator.NumericComparator<T extends java.lang.Number>

    • Constructor Detail

      • NumericComparator

        public NumericComparator​(java.lang.String field,
                                 T missingValue)
    • Method Detail

      • setNextReader

        public FieldComparator<T> setNextReader​(AtomicReaderContext context)
        Description copied from class: FieldComparator
        Set a new AtomicReaderContext. All subsequent docIDs are relative to the current reader (you must add docBase if you need to map it to a top-level docID).
        Specified by:
        setNextReader in class FieldComparator<T extends java.lang.Number>
        context - current reader context
        the comparator to use for this segment; most comparators can just return "this" to reuse the same comparator across segments
        Throws: - if there is a low-level IO error