addPosition

abstract fun addPosition(position: Int, startOffset: Int, endOffset: Int, payload: BytesRef?)

Adds a term position and offsets