Class IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
A Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter which sets the underlying Lucene.Net.Index.IndexWriter's IndexDeletionPolicy to Lucene.Net.Index.SnapshotDeletionPolicy.
Inheritance
System.Object
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter
IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter
Implements
Lucene.Net.Facet.Taxonomy.ITaxonomyWriter
System.IDisposable
Lucene.Net.Index.ITwoPhaseCommit
Inherited Members
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.INDEX_EPOCH
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.Unlock(Lucene.Net.Store.Directory)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.DefaultTaxonomyWriterCache()
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.Dispose()
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.Dispose(System.Boolean)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.FindCategory(Lucene.Net.Facet.Taxonomy.FacetLabel)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.AddCategory(Lucene.Net.Facet.Taxonomy.FacetLabel)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.EnsureOpen()
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.Commit()
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.SetCommitData(System.Collections.Generic.IDictionary<System.String, System.String>)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.CommitData
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.PrepareCommit()
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.Count
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.SetCacheMissesUntilFill(System.Int32)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.GetParent(System.Int32)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.AddTaxonomy(Lucene.Net.Store.Directory, Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.IOrdinalMap)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.Rollback()
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.ReplaceTaxonomy(Lucene.Net.Store.Directory)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.Directory
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.TaxonomyEpoch
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Replicator
Assembly: Lucene.Net.Replicator.dll
Syntax
public class SnapshotDirectoryTaxonomyWriter : DirectoryTaxonomyWriter, ITaxonomyWriter, IDisposable, ITwoPhaseCommit
Constructors
| Improve this Doc View SourceSnapshotDirectoryTaxonomyWriter(Directory, OpenMode)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.#ctor(Lucene.Net.Store.Directory,Lucene.Net.Index.OpenMode)
Declaration
public SnapshotDirectoryTaxonomyWriter(Directory directory, OpenMode openMode = OpenMode.CREATE_OR_APPEND)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Store.Directory | directory | |
Lucene.Net.Index.OpenMode | openMode |
Exceptions
Type | Condition |
---|---|
System.IO.IOException |
SnapshotDirectoryTaxonomyWriter(Directory, OpenMode, ITaxonomyWriterCache)
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.#ctor(Lucene.Net.Store.Directory,Lucene.Net.Index.OpenMode,Lucene.Net.Facet.Taxonomy.WriterCache.ITaxonomyWriterCache)
Declaration
public SnapshotDirectoryTaxonomyWriter(Directory directory, OpenMode openMode, ITaxonomyWriterCache cache)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Store.Directory | directory | |
Lucene.Net.Index.OpenMode | openMode | |
Lucene.Net.Facet.Taxonomy.WriterCache.ITaxonomyWriterCache | cache |
Exceptions
Type | Condition |
---|---|
System.IO.IOException |
Properties
| Improve this Doc View SourceDeletionPolicy
Gets the Lucene.Net.Index.SnapshotDeletionPolicy used by the underlying Lucene.Net.Index.IndexWriter.
Declaration
public virtual SnapshotDeletionPolicy DeletionPolicy { get; }
Property Value
Type | Description |
---|---|
Lucene.Net.Index.SnapshotDeletionPolicy |
IndexWriter
Gets the Lucene.Net.Index.IndexWriter used by this Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.
Declaration
public virtual IndexWriter IndexWriter { get; }
Property Value
Type | Description |
---|---|
Lucene.Net.Index.IndexWriter |
Methods
| Improve this Doc View SourceCreateIndexWriterConfig(OpenMode)
Declaration
protected override IndexWriterConfig CreateIndexWriterConfig(OpenMode openMode)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.OpenMode | openMode |
Returns
Type | Description |
---|---|
Lucene.Net.Index.IndexWriterConfig |
Overrides
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.CreateIndexWriterConfig(Lucene.Net.Index.OpenMode)
|
Improve this Doc
View Source
OpenIndexWriter(Directory, IndexWriterConfig)
Declaration
protected override IndexWriter OpenIndexWriter(Directory directory, IndexWriterConfig config)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Store.Directory | directory | |
Lucene.Net.Index.IndexWriterConfig | config |
Returns
Type | Description |
---|---|
Lucene.Net.Index.IndexWriter |
Overrides
Lucene.Net.Facet.Taxonomy.Directory.DirectoryTaxonomyWriter.OpenIndexWriter(Lucene.Net.Store.Directory, Lucene.Net.Index.IndexWriterConfig)
Implements
Lucene.Net.Facet.Taxonomy.ITaxonomyWriter
System.IDisposable
Lucene.Net.Index.ITwoPhaseCommit