Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldCache.CacheEntry

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    Note

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

    Inheritance
    object
    FieldCache.CacheEntry
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class FieldCache.CacheEntry

    Constructors

    CacheEntry(object, string, Type, object, object)

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    Note

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

    Declaration
    public CacheEntry(object readerKey, string fieldName, Type cacheType, object custom, object value)
    Parameters
    Type Name Description
    object readerKey
    string fieldName
    Type cacheType
    object custom
    object value

    Properties

    AcceptableOverheadRatio

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    Note

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

    Declaration
    public float? AcceptableOverheadRatio { get; }
    Property Value
    Type Description
    float?

    CacheType

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    Note

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

    Declaration
    public Type CacheType { get; }
    Property Value
    Type Description
    Type

    EstimatedSize

    The most recently estimated size of the value, null unless EstimateSize() has been called.

    Declaration
    public string EstimatedSize { get; }
    Property Value
    Type Description
    string

    FieldName

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    Note

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

    Declaration
    public string FieldName { get; }
    Property Value
    Type Description
    string

    Parser

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    Note

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

    Declaration
    public FieldCache.IParser Parser { get; }
    Property Value
    Type Description
    FieldCache.IParser

    ReaderKey

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    Note

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

    Declaration
    public object ReaderKey { get; }
    Property Value
    Type Description
    object

    Value

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    Note

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

    Declaration
    public object Value { get; }
    Property Value
    Type Description
    object

    Methods

    EstimateSize()

    Computes (and stores) the estimated size of the cache Value

    Declaration
    public void EstimateSize()
    See Also
    EstimatedSize

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()
    Back to top Copyright © 2024 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.