C# Class Lucene.Net.Index.BaseIndexFileFormatTestCase

Common tests to all index formats.
Inheritance: LuceneTestCase
Mostra file Open project: apache/lucenenet

Public Methods

Method Description
TestMergeStability ( ) : void

The purpose of this test is to make sure that bulk merge doesn't accumulate useless data over runs.

Protected Methods

Method Description
AddRandomFields ( Document doc ) : void

Add random fields to the provided document.

ExcludedExtensionsFromByteCounts ( ) : ICollection

Return the list of extensions that should be excluded from byte counts when comparing indices that store the same content.

Private Methods

Method Description
BytesUsedByExtension ( Directory d ) : long>.IDictionary
SetUp ( ) : void
TearDown ( ) : void

Method Details

AddRandomFields() protected abstract method

Add random fields to the provided document.
protected abstract AddRandomFields ( Document doc ) : void
doc Document
return void

ExcludedExtensionsFromByteCounts() protected method

Return the list of extensions that should be excluded from byte counts when comparing indices that store the same content.
protected ExcludedExtensionsFromByteCounts ( ) : ICollection
return ICollection

TestMergeStability() public method

The purpose of this test is to make sure that bulk merge doesn't accumulate useless data over runs.
public TestMergeStability ( ) : void
return void