C# Class Lucene.Net.Index.MergePolicy.MergeSpecification

A MergeSpecification instance provides the information necessary to perform multiple merges. It simply contains a list of {@link OneMerge} instances.
Show file Open project: apache/lucenenet

Public Properties

Property Type Description
Merges IList

Public Methods

Method Description
Add ( OneMerge merge ) : void

Adds the provided OneMerge to this specification.

MergeSpecification ( ) : System

Sole constructor. Use {@link #add(MergePolicy.OneMerge)} to add merges.

SegString ( Directory dir ) : string

Returns a description of the merges in this specification.

Method Details

Add() public method

Adds the provided OneMerge to this specification.
public Add ( OneMerge merge ) : void
merge OneMerge
return void

MergeSpecification() public method

Sole constructor. Use {@link #add(MergePolicy.OneMerge)} to add merges.
public MergeSpecification ( ) : System
return System

SegString() public method

Returns a description of the merges in this specification.
public SegString ( Directory dir ) : string
dir Directory
return string

Property Details

Merges public property

The subset of segments to be included in the primitive merge.
public IList Merges
return IList