Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class OfflineSorter.BufferSize

    A bit more descriptive unit for constructors.

    Inheritance
    System.Object
    OfflineSorter.BufferSize
    Inherited Members
    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.Util
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class BufferSize

    Methods

    | Improve this Doc View Source

    Automatic()

    Approximately half of the currently available free heap, but no less than ABSOLUTE_MIN_SORT_BUFFER_SIZE. However if current heap allocation is insufficient or if there is a large portion of unallocated heap-space available for sorting consult with max allowed heap size.

    Declaration
    public static OfflineSorter.BufferSize Automatic()
    Returns
    Type Description
    OfflineSorter.BufferSize
    | Improve this Doc View Source

    Megabytes(Int64)

    Creates a OfflineSorter.BufferSize in MB. The given values must be > 0 and < 2048.

    Declaration
    public static OfflineSorter.BufferSize Megabytes(long mb)
    Parameters
    Type Name Description
    System.Int64 mb
    Returns
    Type Description
    OfflineSorter.BufferSize

    See Also

    Automatic()
    Megabytes(Int64)
    • 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.