Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class OfflineSorter.BufferSize

    A bit more descriptive unit for constructors.

    Inheritance
    object
    OfflineSorter.BufferSize
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class OfflineSorter.BufferSize

    Methods

    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
    See Also
    Automatic()
    Megabytes(long)

    Megabytes(long)

    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
    long mb
    Returns
    Type Description
    OfflineSorter.BufferSize
    See Also
    Automatic()
    Megabytes(long)

    See Also

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