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
    object
    MergePolicy.MergeSpecification
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public class MergePolicy.MergeSpecification

    Constructors

    MergeSpecification()

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

    Declaration
    public MergeSpecification()

    Properties

    Merges

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

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

    Methods

    Add(OneMerge)

    Adds the provided MergePolicy.OneMerge to this specification.

    Declaration
    public virtual void Add(MergePolicy.OneMerge merge)
    Parameters
    Type Name Description
    MergePolicy.OneMerge merge

    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
    string
    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.