Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class NumericUtils.Int32RangeBuilder

    Callback for SplitInt32Range(Int32RangeBuilder, int, int, int). You need to override only one of the methods.

    NOTE: This was IntRangeBuilder in Lucene

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    @since 2.9, API changed non backwards-compliant in 4.0

    Inheritance
    object
    NumericUtils.Int32RangeBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class NumericUtils.Int32RangeBuilder

    Methods

    AddRange(BytesRef, BytesRef)

    Override this method, if you like to receive the already prefix encoded range bounds. You can directly build classical range (inclusive) queries from them.

    Declaration
    public virtual void AddRange(BytesRef minPrefixCoded, BytesRef maxPrefixCoded)
    Parameters
    Type Name Description
    BytesRef minPrefixCoded
    BytesRef maxPrefixCoded

    AddRange(int, int, int)

    Override this method, if you like to receive the raw int range bounds. You can use this for e.g. debugging purposes (print out range bounds).

    Declaration
    public virtual void AddRange(int min, int max, int shift)
    Parameters
    Type Name Description
    int min
    int max
    int shift
    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.