Lucene101PostingsReader
Concrete class that reads docId(maybe frq,pos,offset,payloads) list with postings format.
Functions
Link copied to clipboard
Checks consistency of this reader.
Link copied to clipboard
open override fun decodeTerm(in: DataInput, fieldInfo: FieldInfo, _termState: BlockTermState, absolute: Boolean)
Actually decode metadata for next term
Link copied to clipboard
Return a ImpactsEnum that computes impacts with scorer.
open override fun impacts(fieldInfo: FieldInfo, state: BlockTermState, flags: Int, reuse: ImpactsEnum?): ImpactsEnum
Optional reuse-aware variant of impacts. Implementations may override to reuse platform objects for performance while preserving semantics.
Link copied to clipboard
Performs any initialization, such as reading and verifying the header from the provided terms dictionary IndexInput.
Link copied to clipboard
Return a newly created empty TermState
Link copied to clipboard
open override fun postings(fieldInfo: FieldInfo, termState: BlockTermState, reuse: PostingsEnum?, flags: Int): PostingsEnum
Must fully consume state, since after this call that TermState may be reused.