Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldComparer.ByteComparer

    Parses field's values as System.Byte (using GetBytes(AtomicReader, String, FieldCache.IByteParser, Boolean) and sorts by ascending value

    Inheritance
    System.Object
    FieldComparer
    FieldComparer<System.SByte>
    FieldComparer.NumericComparer<System.SByte>
    FieldComparer.ByteComparer
    Inherited Members
    FieldComparer.NumericComparer<SByte>.m_missingValue
    FieldComparer.NumericComparer<SByte>.m_field
    FieldComparer.NumericComparer<SByte>.m_docsWithField
    FieldComparer<SByte>.CompareValues(SByte, SByte)
    FieldComparer<SByte>.CompareValues(Object, Object)
    FieldComparer.SetScorer(Scorer)
    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
    [Obsolete]
    [CLSCompliant(false)]
    public sealed class ByteComparer : FieldComparer.NumericComparer<sbyte>

    Properties

    | Improve this Doc View Source

    Item[Int32]

    Declaration
    public override IComparable this[int slot] { get; }
    Parameters
    Type Name Description
    System.Int32 slot
    Property Value
    Type Description
    System.IComparable
    Overrides
    FieldComparer.Item[Int32]

    Methods

    | Improve this Doc View Source

    Compare(Int32, Int32)

    Declaration
    public override int Compare(int slot1, int slot2)
    Parameters
    Type Name Description
    System.Int32 slot1
    System.Int32 slot2
    Returns
    Type Description
    System.Int32
    Overrides
    Lucene.Net.Search.FieldComparer<System.SByte>.Compare(System.Int32, System.Int32)
    | Improve this Doc View Source

    CompareBottom(Int32)

    Declaration
    public override int CompareBottom(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Int32
    Overrides
    Lucene.Net.Search.FieldComparer<System.SByte>.CompareBottom(System.Int32)
    | Improve this Doc View Source

    CompareTop(Int32)

    Declaration
    public override int CompareTop(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Int32
    Overrides
    Lucene.Net.Search.FieldComparer<System.SByte>.CompareTop(System.Int32)
    | Improve this Doc View Source

    Copy(Int32, Int32)

    Declaration
    public override void Copy(int slot, int doc)
    Parameters
    Type Name Description
    System.Int32 slot
    System.Int32 doc
    Overrides
    Lucene.Net.Search.FieldComparer<System.SByte>.Copy(System.Int32, System.Int32)
    | Improve this Doc View Source

    SetBottom(Int32)

    Declaration
    public override void SetBottom(int slot)
    Parameters
    Type Name Description
    System.Int32 slot
    Overrides
    Lucene.Net.Search.FieldComparer<System.SByte>.SetBottom(System.Int32)
    | 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.NumericComparer<System.SByte>.SetNextReader(Lucene.Net.Index.AtomicReaderContext)
    | Improve this Doc View Source

    SetTopValue(Object)

    Declaration
    public override void SetTopValue(object value)
    Parameters
    Type Name Description
    System.Object value
    Overrides
    Lucene.Net.Search.FieldComparer<System.SByte>.SetTopValue(System.Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.