Builds a PrefixCodedTerms: call add repeatedly, then finish.
add a term
add a term. This fully consumes in the incoming BytesRef.
return finalized form