getSpans

open override fun getSpans(context: LeafReaderContext, requiredPostings: SpanWeight.Postings): Spans?

Expert: Return a Spans object iterating over matches from this Weight

Return

a Spans

Parameters

ctx

a LeafReaderContext for this Spans

Throws

IOException

on error