Class DirectoryTaxonomyWriter.DiskOrdinalMap
DirectoryTaxonomyWriter.IOrdinalMap maintained on file system
Inheritance
System.Object
DirectoryTaxonomyWriter.DiskOrdinalMap
Implements
Namespace: Lucene.Net.Facet.Taxonomy.Directory
Assembly: Lucene.Net.Facet.dll
Syntax
public sealed class DiskOrdinalMap : object, DirectoryTaxonomyWriter.IOrdinalMap
Constructors
| Improve this Doc View SourceDiskOrdinalMap(String)
Sole constructor.
Declaration
public DiskOrdinalMap(string tmpfile)
Parameters
Type | Name | Description |
---|---|---|
System.String | tmpfile |
Methods
| Improve this Doc View SourceAddDone()
Declaration
public void AddDone()
AddMapping(Int32, Int32)
Declaration
public void AddMapping(int origOrdinal, int newOrdinal)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | origOrdinal | |
System.Int32 | newOrdinal |
GetMap()
Declaration
public int[] GetMap()
Returns
Type | Description |
---|---|
System.Int32[] |
SetSize(Int32)
Declaration
public void SetSize(int taxonomySize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | taxonomySize |