Class SearcherTaxonomyManager
Inheritance
System.Object
SearcherTaxonomyManager
Assembly: Lucene.Net.Facet.dll
Syntax
public class SearcherTaxonomyManager : ReferenceManager<SearcherTaxonomyManager.SearcherAndTaxonomy>
Constructors
|
Improve this Doc
View Source
SearcherTaxonomyManager(Index.IndexWriter, Boolean, Search.SearcherFactory, DirectoryTaxonomyWriter)
Creates near-real-time searcher and taxonomy reader
from the corresponding writers.
Declaration
public SearcherTaxonomyManager(Index.IndexWriter writer, bool applyAllDeletes, Search.SearcherFactory searcherFactory, DirectoryTaxonomyWriter taxoWriter)
Parameters
|
Improve this Doc
View Source
SearcherTaxonomyManager(Store.Directory, Store.Directory, Search.SearcherFactory)
Creates search and taxonomy readers over the corresponding directories.
NOTE: you should only use this constructor if you commit and call
(on the ) in the same thread. Otherwise it could lead to an
unsync'd and TaxonomyReader pair.
Declaration
public SearcherTaxonomyManager(Store.Directory indexDir, Store.Directory taxoDir, Search.SearcherFactory searcherFactory)
Parameters
Methods
|
Improve this Doc
View Source
DecRef(SearcherTaxonomyManager.SearcherAndTaxonomy)
Declaration
protected override void DecRef(SearcherTaxonomyManager.SearcherAndTaxonomy ref)
Parameters
|
Improve this Doc
View Source
GetRefCount(SearcherTaxonomyManager.SearcherAndTaxonomy)
Declaration
protected override int GetRefCount(SearcherTaxonomyManager.SearcherAndTaxonomy reference)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RefreshIfNeeded(SearcherTaxonomyManager.SearcherAndTaxonomy)
Declaration
protected override SearcherTaxonomyManager.SearcherAndTaxonomy RefreshIfNeeded(SearcherTaxonomyManager.SearcherAndTaxonomy ref)
Parameters
Returns
|
Improve this Doc
View Source
TryIncRef(SearcherTaxonomyManager.SearcherAndTaxonomy)
Declaration
protected override bool TryIncRef(SearcherTaxonomyManager.SearcherAndTaxonomy ref)
Parameters
Returns
Type |
Description |
System.Boolean |
|