Package | Description |
---|---|
org.apache.lucene.facet.taxonomy.directory |
Taxonomy implemented using a Lucene-Index
|
org.apache.lucene.facet.taxonomy.writercache.cl2o |
Category->Ordinal caching implementation using an optimized data-structures
The internal map data structure consumes less memory (~30%) and is faster (~50%) compared to a
Java HashMap<String, Integer>.
|
org.apache.lucene.facet.taxonomy.writercache.lru |
An LRU cache implementation for the CategoryPath to Ordinal map
|
Modifier and Type | Method and Description |
---|---|
static TaxonomyWriterCache |
DirectoryTaxonomyWriter.defaultTaxonomyWriterCache()
Defines the default
TaxonomyWriterCache to use in constructors
which do not specify one. |
Constructor and Description |
---|
DirectoryTaxonomyWriter(Directory directory,
IndexWriterConfig.OpenMode openMode,
TaxonomyWriterCache cache)
Construct a Taxonomy writer.
|
Modifier and Type | Class and Description |
---|---|
class |
Cl2oTaxonomyWriterCache
|
Modifier and Type | Class and Description |
---|---|
class |
LruTaxonomyWriterCache
LRU
TaxonomyWriterCache - good choice for huge taxonomies. |