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

Improves indexing time by caching a map of CategoryPath to their Ordinal.

See:
          Description

Interface Summary
TaxonomyWriterCache TaxonomyWriterCache is a relatively simple interface for a cache of category->ordinal mappings, used in TaxonomyWriter implementations (such as DirectoryTaxonomyWriter).
 

Class Summary
Cl2oTaxonomyWriterCache TaxonomyWriterCache using CompactLabelToOrdinal.
CollisionMap HashMap to store colliding labels.
CompactLabelToOrdinal This is a very efficient LabelToOrdinal implementation that uses a CharBlockArray to store all labels and a configurable number of HashArrays to reference the labels.
LabelToOrdinal Abstract class for storing Label->Ordinal mappings in a taxonomy.
LruTaxonomyWriterCache LRU TaxonomyWriterCache - good choice for huge taxonomies.
NameHashIntCacheLRU An an LRU cache of mapping from name to int.
 

Enum Summary
LruTaxonomyWriterCache.LRUType Determines cache type.
 

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

Improves indexing time by caching a map of CategoryPath to their Ordinal.



Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.