PhrasePositions

class PhrasePositions(val postings: PostingsEnum, o: Int, val ord: Int, val terms: Array<out Term>?)

Position of a term in a document that takes into account the term offset within the phrase.

Constructors

Link copied to clipboard
constructor(postings: PostingsEnum, o: Int, ord: Int, terms: Array<out Term>?)

Properties

Link copied to clipboard
var count: Int
Link copied to clipboard
Link copied to clipboard
var offset: Int
Link copied to clipboard
val ord: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var rptInd: Int
Link copied to clipboard
val terms: Array<out Term>?

Functions

Link copied to clipboard
Link copied to clipboard

Go to next location of this term current document, and set position as location - offset, so that a matching exact phrase is easily identified when all PhrasePositions have exactly the same position.

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

for debug purposes