C# Class Lucene.Net.Index.TestIndexWriterReader

Inheritance: Lucene.Net.Util.LuceneTestCase
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

CreateIndex() public méthode

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

CreateIndexNoClose() public static méthode

public static CreateIndexNoClose ( bool multiSegment, string indexName, IndexWriter w ) : void
multiSegment bool
indexName string
w IndexWriter
Résultat void

DoTestIndexWriterReopenSegment() public méthode

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