Companion

object Companion

Properties

Link copied to clipboard
val ALL: Short

Flag to pass to TermsEnum.postings to get positions, payloads and offsets in the returned enum

Link copied to clipboard

Flag to pass to TermsEnum.postings if you require term frequencies in the returned enum.

Link copied to clipboard
const val NONE: Short = 0

Flag to pass to TermsEnum.postings if you don't require per-document postings in the returned enum.

Link copied to clipboard

Flag to pass to TermsEnum.postings if you require offsets in the returned enum.

Link copied to clipboard

Flag to pass to TermsEnum.postings if you require payloads in the returned enum.

Link copied to clipboard

Flag to pass to TermsEnum.postings if you require term positions in the returned enum.

Functions

Link copied to clipboard
fun featureRequested(flags: Int, feature: Short): Boolean

Returns true if the given feature is requested in the flags, false otherwise.