Constructors

Link copied to clipboard
constructor(d: Directory, si: SegmentInfo, segmentSuffix: String, fn: FieldInfos?, context: IOContext, formatName: String, compressionMode: CompressionMode)

Sole constructor.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val mergeInstance: TermVectorsReader
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun checkIntegrity()

Checks consistency of this reader.

Link copied to clipboard
open override fun clone(): TermVectorsReader

Create a clone that one caller at a time may use to read term vectors.

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun get(doc: Int): Fields?

Returns term vectors for this document, or null if term vectors were not indexed.

fun get(doc: Int, field: String?): Terms?

Retrieve term vector for this document and field, or null if term vectors were not indexed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun isLoaded(docID: Int): Boolean

Checks if a given docID was loaded in the current block state.

Link copied to clipboard
open override fun prefetch(docID: Int)

Optional method: Give a hint to this TermVectors instance that the given document will be read in the near future. This typically delegates to IndexInput.prefetch and is useful to parallelize I/O across multiple documents.

Link copied to clipboard
open override fun toString(): String