Package org.apache.lucene.facet.taxonomy.directory
package org.apache.lucene.facet.taxonomy.directory
Taxonomy index implementation using on top of a Directory.
-
ClassDescriptionA
TaxonomyReader
which retrieves stored taxonomy information from aDirectory
.TaxonomyWriter
which uses aDirectory
to store the taxonomy information on disk, and keeps an additional in-memory cache of some or all categories.DirectoryTaxonomyWriter.OrdinalMap
maintained on file systemDirectoryTaxonomyWriter.OrdinalMap
maintained in memoryMapping from old ordinal to new ordinals, used when merging indexes with separate taxonomies.Use thisTaxonomyWriter
to append arbitrary fields to the ordinal documents in the taxonomy.