Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MergePolicy.MergeSpecification

    A MergePolicy.MergeSpecification instance provides the information necessary to perform multiple merges. It simply contains a list of MergePolicy.OneMerge instances.

    Inheritance
    System.Object
    MergePolicy.MergeSpecification
    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.Index
    Assembly: Lucene.Net.dll
    Syntax
    public class MergeSpecification

    Constructors

    | Improve this Doc View Source

    MergeSpecification()

    Sole constructor. Use Add(MergePolicy.OneMerge) to add merges.

    Declaration
    public MergeSpecification()

    Properties

    | Improve this Doc View Source

    Merges

    The subset of segments to be included in the primitive merge.

    Declaration
    public IList<MergePolicy.OneMerge> Merges { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<MergePolicy.OneMerge>

    Methods

    | Improve this Doc View Source

    Add(MergePolicy.OneMerge)

    Adds the provided MergePolicy.OneMerge to this specification.

    Declaration
    public virtual void Add(MergePolicy.OneMerge merge)
    Parameters
    Type Name Description
    MergePolicy.OneMerge merge
    | Improve this Doc View Source

    SegString(Directory)

    Returns a description of the merges in this specification.

    Declaration
    public virtual string SegString(Directory dir)
    Parameters
    Type Name Description
    Directory dir
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.