prepareSeekExact

open override fun prepareSeekExact(text: BytesRef): IOBooleanSupplier?

Two-phase .seekExact. The first phase typically calls IndexInput.prefetch on the right range of bytes under the hood, while the second phase IOBooleanSupplier.get actually seeks the term within these bytes. This can be used to parallelize I/O across multiple terms by calling .prepareSeekExact on multiple terms enums before calling .

NOTE: It is illegal to call other methods on this TermsEnum after calling this method until IOBooleanSupplier.get is called.

NOTE: This may return null if this TermsEnum can identify that the term may not exist without performing any I/O.

NOTE: The returned IOBooleanSupplier must be consumed in the same thread.