Show / Hide Table of Contents

    Class Int64Range

    Represents a range over values.

    NOTE: This was LongRange in Lucene

    @lucene.experimental

    Inheritance
    System.Object
    Range
    Int64Range
    Inherited Members
    Range.Label
    Range.GetFilter(ValueSource)
    Range.FailNoMatch()
    Namespace: Lucene.Net.Facet.Range
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public sealed class Int64Range : Range

    Constructors

    | Improve this Doc View Source

    Int64Range(String, Int64, Boolean, Int64, Boolean)

    Create a Int64Range.

    Declaration
    public Int64Range(string label, long minIn, bool minInclusive, long maxIn, bool maxInclusive)
    Parameters
    Type Name Description
    System.String label
    System.Int64 minIn
    System.Boolean minInclusive
    System.Int64 maxIn
    System.Boolean maxInclusive

    Properties

    | Improve this Doc View Source

    Max

    Maximum.

    Declaration
    public long Max { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    MaxInclusive

    True if the maximum value is inclusive.

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

    Min

    Minimum.

    Declaration
    public long Min { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    MinInclusive

    True if the minimum value is inclusive.

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

    Methods

    | Improve this Doc View Source

    Accept(Int64)

    True if this range accepts the provided value.

    Declaration
    public bool Accept(long value)
    Parameters
    Type Name Description
    System.Int64 value
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetFilter(Search.Filter, ValueSource)

    Declaration
    public override Search.Filter GetFilter(Search.Filter fastMatchFilter, ValueSource valueSource)
    Parameters
    Type Name Description
    Search.Filter fastMatchFilter
    ValueSource valueSource
    Returns
    Type Description
    Search.Filter
    Overrides
    Range.GetFilter(Search.Filter, ValueSource)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)