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

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

Introduction

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

The text is from its open source code.

Field

intROOT_ORDINAL
The root category (the category with the empty path) always has the ordinal 0, to which we give a name ROOT_ORDINAL.
intINVALID_ORDINAL
Ordinals are always non-negative, so a negative ordinal can be used to signify an error.

Method

voidclose()
intgetRefCount()
Returns the current refCount for this taxonomy reader.
intgetSize()
Returns the number of categories in the taxonomy.
TopenIfChanged(T oldTaxoReader)
If the taxonomy has changed since the provided reader was opened, open and return a new TaxonomyReader ; else, return null .