# Package org.apache.lucene.facet.taxonomy.writercache

package org.apache.lucene.facet.taxonomy.writercache
Improves indexing time by caching a map of CategoryPath to their Ordinal.

Related Packages
Package
Description
org.apache.lucene.facet.taxonomy
Taxonomy of Categories.
org.apache.lucene.facet.taxonomy.directory
Taxonomy index implementation using on top of a Directory.
Class
Description
LabelToOrdinal
Abstract class for storing Label->Ordinal mappings in a taxonomy.
LruTaxonomyWriterCache
LRU `TaxonomyWriterCache` - good choice for huge taxonomies.
LruTaxonomyWriterCache.LRUType
Determines cache type.
NameHashIntCacheLRU
An LRU cache of mapping from name to int.
TaxonomyWriterCache
TaxonomyWriterCache is a relatively simple interface for a cache of category->ordinal mappings, used in TaxonomyWriter implementations (such as `DirectoryTaxonomyWriter`).