Builder

class Builder

Builds a PrefixCodedTerms: call add repeatedly, then finish.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun add(term: Term)

add a term

fun add(field: String, bytes: BytesRef)

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

Link copied to clipboard

return finalized form