Class LruTaxonomyWriterCache
LRU ITaxonomy
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
LruTaxonomyWriterCache
Inherited Members
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.Facet.Taxonomy.WriterCache
Assembly: Lucene.Net.Facet.dll
Syntax
public class LruTaxonomyWriterCache : ITaxonomyWriterCache, IDisposable
Constructors
| Improve this Doc View SourceLruTaxonomyWriterCache(Int32)
Creates this with LRU_HASHED method.
Declaration
public LruTaxonomyWriterCache(int cacheSize)
Parameters
Type | Name | Description |
---|---|---|
System. |
cacheSize |
LruTaxonomyWriterCache(Int32, LruTaxonomyWriterCache.LRUType)
Creates this with the specified method.
Declaration
public LruTaxonomyWriterCache(int cacheSize, LruTaxonomyWriterCache.LRUType lruType)
Parameters
Type | Name | Description |
---|---|---|
System. |
cacheSize | |
Lru |
lruType |
Properties
| Improve this Doc View SourceIsFull
Declaration
public virtual bool IsFull { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceClear()
Declaration
public virtual void Clear()
Dispose()
Declaration
public virtual void Dispose()
Get(FacetLabel)
Declaration
public virtual int Get(FacetLabel categoryPath)
Parameters
Type | Name | Description |
---|---|---|
Facet |
categoryPath |
Returns
Type | Description |
---|---|
System. |
Put(FacetLabel, Int32)
Declaration
public virtual bool Put(FacetLabel categoryPath, int ordinal)
Parameters
Type | Name | Description |
---|---|---|
Facet |
categoryPath | |
System. |
ordinal |
Returns
Type | Description |
---|---|
System. |
Implements
System.IDisposable