C# Class Lucene.Net.Index.TestDirectoryReader

Inheritance: Lucene.Net.Util.LuceneTestCase
显示文件 Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
AssertIndexEquals ( DirectoryReader index1, DirectoryReader index2 ) : void

Private Methods

Method Description
AddDoc ( IndexWriter writer, string value ) : void

LUCENENET specific Is non-static because NewTextField is no longer static.

AddDoc ( Random random, Directory ramDir1, string s, bool create ) : void
AddDocumentWithDifferentFields ( IndexWriter writer ) : void

LUCENENET specific Is non-static because NewStringField, NewTextField, NewField methods are no longer static.

AddDocumentWithFields ( IndexWriter writer ) : void

LUCENENET specific Is non-static because NewStringField, NewTextField, NewField methods are no longer static.

AddDocumentWithTermVectorFields ( IndexWriter writer ) : void

LUCENENET specific Is non-static because NewTextField, NewField methods are no longer static.

AssertTermDocsCount ( string msg, IndexReader reader, Lucene.Net.Index.Term term, int expected ) : void
CreateDocument ( string id ) : Lucene.Net.Documents.Document
TestBackwards ( ) : void
TestBinaryFields ( ) : void
TestDocument ( ) : void
TestFieldCacheReuseAfterReopen ( ) : void
TestFilesOpenClose ( ) : void
TestGetDocCount ( ) : void
TestGetFieldNames ( ) : void
TestGetIndexCommit ( ) : void
TestGetSumDocFreq ( ) : void
TestGetSumTotalTermFreq ( ) : void
TestIndexExistsOnNonExistentDirectory ( ) : void
TestIsCurrent ( ) : void
TestListCommits ( ) : void
TestLoadCertainFields ( ) : void
TestMultiTermDocs ( ) : void
TestNoDir ( ) : void
TestNoDupCommitFileNames ( ) : void
TestNoTermsIndex ( ) : void
TestOOBDocID ( ) : void
TestOpenReaderAfterDelete ( ) : void
TestPrepareCommitIsCurrent ( ) : void
TestReaderFinishedListener ( ) : void
TestStressTryIncRef ( ) : void
TestTermVectors ( ) : void
TestTotalTermFreqCached ( ) : void
TestTryIncRef ( ) : void
TestUniqueTermCount ( ) : void

Method Details

AssertIndexEquals() public static method

public static AssertIndexEquals ( DirectoryReader index1, DirectoryReader index2 ) : void
index1 DirectoryReader
index2 DirectoryReader
return void