add

fun add(termBytes: BytesRef, docID: Int)

Called once per inverted token. This is the primary entry point (for first TermsHash); postings use this API.