C# 클래스 Lucene.Net.Index.TestBackwardsCompatibility

파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
ChangeIndexNoAdds ( Random random, Directory dir ) : void
ChangeIndexWithAdds ( Random random, Directory dir, string origOldName ) : void
CreateIndex ( string dirName, bool doCFS, bool fullyMerged ) : DirectoryInfo
SearchIndex ( Directory dir, string oldName ) : void
TearDown ( ) : void

비공개 메소드들

메소드 설명
AddDoc ( IndexWriter writer, int id ) : void
AddNoProxDoc ( IndexWriter writer ) : void
AfterClass ( ) : void
BeforeClass ( ) : void
CheckAllSegmentsUpgraded ( Directory dir ) : int
Compare ( string name, string v ) : int
CountDocs ( Lucene.Net.Index.DocsEnum docs ) : int
DoTestHits ( ScoreDoc hits, int expectedCount, IndexReader reader ) : void
GetNumberOfSegments ( Directory dir ) : int
NewIndexUpgrader ( Directory dir ) : IndexUpgrader

Randomizes the use of some of hte constructor variations

TestAddOldIndexes ( ) : void
TestAddOldIndexesReader ( ) : void
TestCommandLineArgs ( ) : void
TestFullyMergeOldIndex ( ) : void
TestIndexOldIndex ( ) : void
TestIndexOldIndexNoAdds ( ) : void
TestMoreTerms ( ) : void
TestNextIntoWrongField ( ) : void
TestNumericFields ( ) : void
TestOldVersions ( ) : void
TestSearchOldIndex ( ) : void
TestUnsupportedOldIndexes ( ) : void
TestUpgradeOldIndex ( ) : void
TestUpgradeOldSingleSegmentIndexWithAdditions ( ) : void

메소드 상세

ChangeIndexNoAdds() 공개 메소드

public ChangeIndexNoAdds ( Random random, Directory dir ) : void
random System.Random
dir System.IO.Directory
리턴 void

ChangeIndexWithAdds() 공개 메소드

public ChangeIndexWithAdds ( Random random, Directory dir, string origOldName ) : void
random System.Random
dir System.IO.Directory
origOldName string
리턴 void

CreateIndex() 공개 메소드

public CreateIndex ( string dirName, bool doCFS, bool fullyMerged ) : DirectoryInfo
dirName string
doCFS bool
fullyMerged bool
리턴 System.IO.DirectoryInfo

SearchIndex() 공개 메소드

public SearchIndex ( Directory dir, string oldName ) : void
dir System.IO.Directory
oldName string
리턴 void

TearDown() 공개 메소드

public TearDown ( ) : void
리턴 void