Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class LruTaxonomyWriterCache

    LRU ITaxonomyWriterCache - good choice for huge taxonomies.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    LruTaxonomyWriterCache
    Implements
    ITaxonomyWriterCache
    System.IDisposable
    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 Source

    LruTaxonomyWriterCache(Int32)

    Creates this with LRU_HASHED method.

    Declaration
    public LruTaxonomyWriterCache(int cacheSize)
    Parameters
    Type Name Description
    System.Int32 cacheSize
    | Improve this Doc View Source

    LruTaxonomyWriterCache(Int32, LruTaxonomyWriterCache.LRUType)

    Creates this with the specified method.

    Declaration
    public LruTaxonomyWriterCache(int cacheSize, LruTaxonomyWriterCache.LRUType lruType)
    Parameters
    Type Name Description
    System.Int32 cacheSize
    LruTaxonomyWriterCache.LRUType lruType

    Properties

    | Improve this Doc View Source

    IsFull

    Declaration
    public virtual bool IsFull { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    public virtual void Clear()
    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    Get(FacetLabel)

    Declaration
    public virtual int Get(FacetLabel categoryPath)
    Parameters
    Type Name Description
    FacetLabel categoryPath
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Put(FacetLabel, Int32)

    Declaration
    public virtual bool Put(FacetLabel categoryPath, int ordinal)
    Parameters
    Type Name Description
    FacetLabel categoryPath
    System.Int32 ordinal
    Returns
    Type Description
    System.Boolean

    Implements

    ITaxonomyWriterCache
    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.