Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldComparer.NumericComparer<T>

    Base FieldComparer class for numeric types

    Inheritance
    System.Object
    FieldComparer
    FieldComparer<T>
    FieldComparer.NumericComparer<T>
    FieldComparer.ByteComparer
    FieldComparer.DoubleComparer
    FieldComparer.Int16Comparer
    FieldComparer.Int32Comparer
    FieldComparer.Int64Comparer
    FieldComparer.SingleComparer
    Inherited Members
    FieldComparer<T>.Compare(Int32, Int32)
    FieldComparer<T>.SetBottom(Int32)
    FieldComparer<T>.SetTopValue(Object)
    FieldComparer<T>.CompareBottom(Int32)
    FieldComparer<T>.CompareTop(Int32)
    FieldComparer<T>.Copy(Int32, Int32)
    FieldComparer<T>.CompareValues(T, T)
    FieldComparer<T>.CompareValues(Object, Object)
    FieldComparer.SetScorer(Scorer)
    FieldComparer.Item[Int32]
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class NumericComparer<T> : FieldComparer<T> where T : struct
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    NumericComparer(String, Nullable<T>)

    Declaration
    protected NumericComparer(string field, T? missingValue)
    Parameters
    Type Name Description
    System.String field
    System.Nullable<T> missingValue

    Fields

    | Improve this Doc View Source

    m_docsWithField

    Declaration
    protected IBits m_docsWithField
    Field Value
    Type Description
    IBits
    | Improve this Doc View Source

    m_field

    Declaration
    protected readonly string m_field
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    m_missingValue

    Declaration
    protected readonly T? m_missingValue
    Field Value
    Type Description
    System.Nullable<T>

    Methods

    | Improve this Doc View Source

    SetNextReader(AtomicReaderContext)

    Declaration
    public override FieldComparer SetNextReader(AtomicReaderContext context)
    Parameters
    Type Name Description
    AtomicReaderContext context
    Returns
    Type Description
    FieldComparer
    Overrides
    Lucene.Net.Search.FieldComparer<T>.SetNextReader(Lucene.Net.Index.AtomicReaderContext)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.