Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldCacheRangeFilter<T>

    Inheritance
    object
    Filter
    FieldCacheRangeFilter<T>
    Inherited Members
    Filter.NewAnonymous(Func<AtomicReaderContext, IBits, DocIdSet>)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class FieldCacheRangeFilter<T> : Filter
    Type Parameters
    Name Description
    T

    Properties

    Field

    Returns the field name for this filter

    Declaration
    public virtual string Field { get; }
    Property Value
    Type Description
    string

    IncludesLower

    Returns true if the lower endpoint is inclusive

    Declaration
    public virtual bool IncludesLower { get; }
    Property Value
    Type Description
    bool

    IncludesUpper

    Returns true if the upper endpoint is inclusive

    Declaration
    public virtual bool IncludesUpper { get; }
    Property Value
    Type Description
    bool

    LowerVal

    Returns the lower value of this range filter

    Declaration
    public virtual T LowerVal { get; }
    Property Value
    Type Description
    T

    Parser

    Returns the current numeric parser (null for T is string)

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

    UpperVal

    Returns the upper value of this range filter

    Declaration
    public virtual T UpperVal { get; }
    Property Value
    Type Description
    T

    Methods

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override sealed bool Equals(object o)
    Parameters
    Type Name Description
    object o
    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)

    Equals(T, T)

    Declaration
    protected virtual bool Equals(T objA, T objB)
    Parameters
    Type Name Description
    T objA
    T objB
    Returns
    Type Description
    bool

    GetDocIdSet(AtomicReaderContext, IBits)

    This method is implemented for each data type

    Declaration
    public override abstract DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
    Parameters
    Type Name Description
    AtomicReaderContext context
    IBits acceptDocs
    Returns
    Type Description
    DocIdSet
    Overrides
    Filter.GetDocIdSet(AtomicReaderContext, IBits)

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override sealed int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override sealed 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.