compare

open override fun compare(o1: BytesRef, o2: BytesRef): Int


open fun compare(o1: BytesRef, o2: BytesRef, k: Int): Int

Compare two bytes refs that first k bytes are already guaranteed to be equal.