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