C# Класс Lucene.Net.Index.TestBackwardsCompatibility

Наследование: Lucene.Net.Util.LuceneTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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