Example usage for Java org.apache.lucene.facet.taxonomy TaxonomyReader fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ROOT_ORDINAL The root category (the category with the empty path) always has the ordinal 0, to which we give a name ROOT_ORDINAL. |
int | INVALID_ORDINAL Ordinals are always non-negative, so a negative ordinal can be used to signify an error. |
void | close() |
int | getRefCount() Returns the current refCount for this taxonomy reader. |
int | getSize() Returns the number of categories in the taxonomy. |
T | openIfChanged(T oldTaxoReader) If the taxonomy has changed since the provided reader was opened, open and return a new TaxonomyReader ; else, return null . |