Java org.apache.lucene.facet.taxonomy TaxonomyWriter fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.facet.taxonomy TaxonomyWriter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.facet.taxonomy TaxonomyWriter.

The text is from its open source code.

Method

intaddCategory(FacetLabel categoryPath)
addCategory() adds a category with a given path name to the taxonomy, and returns its ordinal.
longcommit()
The second phase of a 2-phase commit.
intgetSize()
getSize() returns the number of categories in the taxonomy.
longprepareCommit()
The first stage of a 2-phase commit.
voidrollback()
Discards any changes that have occurred since the last commit.