Property | Type | Description | |
---|---|---|---|
DirectoryTaxonomyReader | System | ||
InitTaxoArrays | void |
Method | Description | |
---|---|---|
DirectoryTaxonomyReader ( |
Open for reading a taxonomy stored in a given Directory.
|
|
DirectoryTaxonomyReader ( |
Opens a DirectoryTaxonomyReader over the given DirectoryTaxonomyWriter (for NRT).
|
|
Dispose ( ) : void | ||
GetOrdinal ( FacetLabel cp ) : int | ||
GetPath ( int ordinal ) : FacetLabel | ||
ToString ( int max ) : string |
Returns ordinal -> label mapping, up to the provided max ordinal or number of ordinals, whichever is smaller.
|
Method | Description | |
---|---|---|
DoClose ( ) : void | ||
DoOpenIfChanged ( ) : TaxonomyReader |
Implements the opening of a new DirectoryTaxonomyReader instance if the taxonomy has changed. NOTE: the returned DirectoryTaxonomyReader shares the ordinal and category caches with this reader. This is not expected to cause any issues, unless the two instances continue to live. The reader guarantees that the two instances cannot affect each other in terms of correctness of the caches, however if the size of the cache is changed through CacheSize, it will affect both reader instances.
|
|
OpenIndexReader ( |
Open the DirectoryReader from this Directory.
|
|
OpenIndexReader ( IndexWriter writer ) : DirectoryReader |
Open the DirectoryReader from this IndexWriter.
|
Method | Description | |
---|---|---|
DirectoryTaxonomyReader ( DirectoryReader indexReader, |
Called only from DoOpenIfChanged(). If the taxonomy has been recreated, you should pass
|
|
InitTaxoArrays ( ) : void |
public DirectoryTaxonomyReader ( |
||
directory | The |
|
return | System |
public DirectoryTaxonomyReader ( |
||
taxoWriter |
/// The |
|
return | System |
protected DoOpenIfChanged ( ) : TaxonomyReader | ||
return | TaxonomyReader |
protected OpenIndexReader ( |
||
directory | ||
return | DirectoryReader |
protected OpenIndexReader ( IndexWriter writer ) : DirectoryReader | ||
writer | IndexWriter | |
return | DirectoryReader |