See: Description
| Interface | Description |
|---|---|
| TaxonomyWriterCache |
TaxonomyWriterCache is a relatively simple interface for a cache of
category->ordinal mappings, used in TaxonomyWriter implementations (such as
DirectoryTaxonomyWriter). |
| Class | Description |
|---|---|
| LabelToOrdinal |
Abstract class for storing Label->Ordinal mappings in a taxonomy.
|
| LruTaxonomyWriterCache |
LRU
TaxonomyWriterCache - good choice for huge taxonomies. |
| NameHashIntCacheLRU |
An LRU cache of mapping from name to int.
|
| UTF8TaxonomyWriterCache |
A "cache" that never frees memory, and stores labels in a BytesRefHash (utf-8 encoding).
|
| Enum | Description |
|---|---|
| LruTaxonomyWriterCache.LRUType |
Determines cache type.
|
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.