Module org.apache.lucene.facet
Package org.apache.lucene.facet.taxonomy.directory
package org.apache.lucene.facet.taxonomy.directory
Taxonomy index implementation using on top of a Directory.
-
ClassDescriptionThis class holds constants used by the directory taxonomy implementations.A
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.AParallelTaxonomyArraysthat are initialized from the taxonomy index.