Example usage for Java org.apache.lucene.facet.taxonomy TaxonomyWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
int | addCategory(FacetLabel categoryPath) addCategory() adds a category with a given path name to the taxonomy, and returns its ordinal. |
long | commit() The second phase of a 2-phase commit. |
int | getSize() getSize() returns the number of categories in the taxonomy. |
long | prepareCommit() The first stage of a 2-phase commit. |
void | rollback() Discards any changes that have occurred since the last commit. |