Class DirectoryTaxonomyIndexReaderFactory
This class offers some hooks for extending classes to control the
Lucene.Net.Index.IndexReader instance that is used by DirectoryTaxonomyReader.
This class is specific to Lucene.NET to allow to customize the
Lucene.Net.Index.DirectoryReader instance
before it is used by
DirectoryTaxonomyReader.
Inheritance
DirectoryTaxonomyIndexReaderFactory
Assembly: Lucene.Net.Facet.dll
Syntax
public class DirectoryTaxonomyIndexReaderFactory
Properties
Default
This class offers some hooks for extending classes to control the
Lucene.Net.Index.IndexReader instance that is used by DirectoryTaxonomyReader.
This class is specific to Lucene.NET to allow to customize the
Lucene.Net.Index.DirectoryReader instance
before it is used by
DirectoryTaxonomyReader.
Declaration
public static DirectoryTaxonomyIndexReaderFactory Default { get; }
Property Value
Methods
OpenIndexReader(IndexWriter)
Open the Lucene.Net.Index.DirectoryReader from this Lucene.Net.Index.IndexWriter.
Declaration
public virtual DirectoryReader OpenIndexReader(IndexWriter writer)
Parameters
Type |
Name |
Description |
IndexWriter |
writer |
|
Returns
Type |
Description |
DirectoryReader |
|
OpenIndexReader(Directory)
Open the Lucene.Net.Index.DirectoryReader from this Lucene.Net.Store.Directory.
Declaration
public virtual DirectoryReader OpenIndexReader(Directory directory)
Parameters
Type |
Name |
Description |
Directory |
directory |
|
Returns
Type |
Description |
DirectoryReader |
|