C# Class Lucene.Net.Index.TestIndexWriterReader

Inheritance: Lucene.Net.Util.LuceneTestCase
Show file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Count ( Lucene.Net.Index.Term t, IndexReader r ) : int
CreateIndex ( Random random, Directory dir1, string indexName, bool multiSegment ) : void
CreateIndexNoClose ( bool multiSegment, string indexName, IndexWriter w ) : void
DoTestIndexWriterReopenSegment ( bool doFullMerge ) : void

Tests creating a segment, then check to insure the segment can be seen via IW.getReader

Private Methods

Method Description
ExposeCompTermVR ( ) : void
GetAssertNoDeletesDirectory ( Directory directory ) : Directory
TestAddCloseOpen ( ) : void
TestAddIndexes ( ) : void
TestAddIndexes2 ( ) : void
TestAddIndexesAndDoDeletesThreads ( ) : void
TestAfterClose ( ) : void
TestAfterCommit ( [ scheduler ) : void
TestDeleteFromIndexWriter ( ) : void
TestDeletesNumDocs ( ) : void
TestDuringAddDelete ( ) : void
TestDuringAddIndexes ( ) : void
TestEmptyIndex ( ) : void
TestForceMergeDeletes ( ) : void
TestIndexWriterReopenSegment ( ) : void
TestIndexWriterReopenSegmentFullMerge ( ) : void
TestIsCurrent ( ) : void
TestMergeWarmer ( [ scheduler ) : void
TestNRTOpenExceptions ( ) : void
TestNoTermsIndex ( ) : void
TestReopenAfterNoRealChange ( ) : void
TestSegmentWarmer ( ) : void
TestSimpleMergedSegmentWramer ( ) : void
TestTooManySegments ( ) : void
TestUpdateDocument ( ) : void

Method Details

Count() public static method

public static Count ( Lucene.Net.Index.Term t, IndexReader r ) : int
t Lucene.Net.Index.Term
r IndexReader
return int

CreateIndex() public method

public CreateIndex ( Random random, Directory dir1, string indexName, bool multiSegment ) : void
random System.Random
dir1 Directory
indexName string
multiSegment bool
return void

CreateIndexNoClose() public static method

public static CreateIndexNoClose ( bool multiSegment, string indexName, IndexWriter w ) : void
multiSegment bool
indexName string
w IndexWriter
return void

DoTestIndexWriterReopenSegment() public method

Tests creating a segment, then check to insure the segment can be seen via IW.getReader
public DoTestIndexWriterReopenSegment ( bool doFullMerge ) : void
doFullMerge bool
return void