public static class PrefixCodedTerms.Builder extends Object
Constructor and Description |
---|
Builder()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String field,
BytesRef bytes)
add a term.
|
void |
add(Term term)
add a term
|
PrefixCodedTerms |
finish()
return finalized form
|
public void add(Term term)
public void add(String field, BytesRef bytes)
BytesRef
.public PrefixCodedTerms finish()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.