FieldComparatorSource

abstract class FieldComparatorSource

Provides a FieldComparator for custom field sorting.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun newComparator(fieldname: String, numHits: Int, pruning: Pruning, reversed: Boolean): FieldComparator<*>

Creates a comparator for the field in the given index.