C# (CSharp) Lucene.Net.Facet.Taxonomy.Directory Namespace

Сlasses

Name Description
DirectoryTaxonomyReader A TaxonomyReader which retrieves stored taxonomy information from a Directory.

Reading from the on-disk index on every method call is too slow, so this implementation employs caching: Some methods cache recent requests and their results, while other methods prefetch all the data into memory and then provide answers directly from in-memory tables. See the documentation of individual methods for comments on their performance. @lucene.experimental

DirectoryTaxonomyReader.IntClass
DirectoryTaxonomyWriter TaxonomyWriter which uses a Directory to store the taxonomy information on disk, and keeps an additional in-memory cache of some or all categories.

In addition to the permanently-stored information in the Directory, efficiency dictates that we also keep an in-memory cache of recently seen or all categories, so that we do not need to go back to disk for every category addition to see which ordinal this category already has, if any. A TaxonomyWriterCache object determines the specific caching algorithm used.

This class offers some hooks for extending classes to control the IndexWriter instance that is used. See #openIndexWriter. @lucene.experimental

DirectoryTaxonomyWriter.DiskOrdinalMap OrdinalMap maintained on file system
DirectoryTaxonomyWriter.MemoryOrdinalMap OrdinalMap maintained in memory
DirectoryTaxonomyWriter.SinglePositionTokenStream
TaxonomyIndexArrays A ParallelTaxonomyArrays that are initialized from the taxonomy index. @lucene.experimental
TestAddTaxonomy
TestAddTaxonomy.ThreadAnonymousInnerClassHelper
TestAddTaxonomy.ThreadAnonymousInnerClassHelper2
TestConcurrentFacetedIndexing
TestConcurrentFacetedIndexing.TaxonomyWriterCacheAnonymousInnerClassHelper
TestConcurrentFacetedIndexing.ThreadAnonymousInnerClassHelper
TestDirectoryTaxonomyWriter
TestDirectoryTaxonomyWriter.TaxonomyWriterCacheAnonymousInnerClassHelper
TestDirectoryTaxonomyWriter.ThreadAnonymousInnerClassHelper