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
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public class MergeSpecification : object

    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
    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 © 2020 Licensed to the Apache Software Foundation (ASF)