Show / Hide Table of Contents

    Class FieldCacheRangeFilter<T>

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

    Constructors

    | Improve this Doc View Source

    FieldCacheRangeFilter(String, FieldCache.IParser, T, T, Boolean, Boolean)

    Declaration
    protected FieldCacheRangeFilter(string field, FieldCache.IParser parser, T lowerVal, T upperVal, bool includeLower, bool includeUpper)
    Parameters
    Type Name Description
    System.String field
    FieldCache.IParser parser
    T lowerVal
    T upperVal
    System.Boolean includeLower
    System.Boolean includeUpper

    Properties

    | Improve this Doc View Source

    Field

    Returns the field name for this filter

    Declaration
    public virtual string Field { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    IncludesLower

    Returns true if the lower endpoint is inclusive

    Declaration
    public virtual bool IncludesLower { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IncludesUpper

    Returns true if the upper endpoint is inclusive

    Declaration
    public virtual bool IncludesUpper { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LowerVal

    Returns the lower value of this range filter

    Declaration
    public virtual T LowerVal { get; }
    Property Value
    Type Description
    T
    | Improve this Doc View Source

    Parser

    Returns the current numeric parser (null for T is System.String)

    Declaration
    public virtual FieldCache.IParser Parser { get; }
    Property Value
    Type Description
    FieldCache.IParser
    | Improve this Doc View Source

    UpperVal

    Returns the upper value of this range filter

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

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override sealed bool Equals(object o)
    Parameters
    Type Name Description
    System.Object o
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetDocIdSet(AtomicReaderContext, IBits)

    This method is implemented for each data type

    Declaration
    public abstract override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
    Parameters
    Type Name Description
    AtomicReaderContext context
    IBits acceptDocs
    Returns
    Type Description
    DocIdSet
    Overrides
    Filter.GetDocIdSet(AtomicReaderContext, IBits)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override sealed int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Declaration
    public override sealed string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)