add

fun add(term: Term)

add a term


fun add(field: String, bytes: BytesRef)

add a term. This fully consumes in the incoming BytesRef.