Show / Hide Table of Contents

    Class NameHashInt32CacheLRU

    An an LRU cache of mapping from name to int. Used to cache Ordinals of category paths. It uses as key, hash of the path instead of the path. This way the cache takes less RAM, but correctness depends on assuming no collisions.

    NOTE: this was NameHashIntCacheLRU in Lucene

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    NameInt32CacheLRU
    NameHashInt32CacheLRU
    Inherited Members
    NameInt32CacheLRU.Limit
    NameInt32CacheLRU.Count
    Namespace: Lucene.Net.Facet.Taxonomy.WriterCache
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public class NameHashInt32CacheLRU : NameInt32CacheLRU
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)