Package org.apache.lucene.index
Class PrefixCodedTerms.Builder
java.lang.Object
org.apache.lucene.index.PrefixCodedTerms.Builder
- Enclosing class:
- PrefixCodedTerms
Builds a PrefixCodedTerms: call add repeatedly, then finish.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()Sole constructor.
-
-
Method Details
-
add
add a term -
add
add a term. This fully consumes in the incomingBytesRef
. -
finish
return finalized form
-