C# Class Lucene.Net.Index.BasePostingsFormatTestCase

显示文件 Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
TestDocsAndFreqs ( ) : void
TestDocsAndFreqsAndPositions ( ) : void
TestDocsAndFreqsAndPositionsAndOffsets ( ) : void
TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads ( ) : void
TestDocsAndFreqsAndPositionsAndPayloads ( ) : void
TestDocsOnly ( ) : void
TestRandom ( ) : void

Protected Methods

Method Description
AddRandomFields ( Lucene.Net.Documents.Document doc ) : void

Private Methods

Method Description
AfterClass ( ) : void
BuildIndex ( Directory dir, Lucene.Net.Index.FieldInfo maxAllowed, bool allowPayloads, bool alwaysTestMax ) : FieldsProducer
CreatePostings ( ) : void
GetSeedPostings ( string term, long seed, bool withLiveDocs, Lucene.Net.Index.FieldInfo options ) : SeedPostings
TestFields ( Fields fields ) : void
TestFull ( Lucene.Net.Index.FieldInfo options, bool withPayloads ) : void

Indexes all fields/terms at the specified IndexOptions, and fully tests at that IndexOptions.

TestTerms ( Fields fieldsSource, ISet options, Lucene.Net.Index.FieldInfo maxTestOptions, Lucene.Net.Index.FieldInfo maxIndexOptions, bool alwaysTestMax ) : void
TestTermsOneThread ( Fields fieldsSource, ISet options, Lucene.Net.Index.FieldInfo maxTestOptions, Lucene.Net.Index.FieldInfo maxIndexOptions, bool alwaysTestMax ) : void
VerifyEnum ( ThreadState threadState, string field, BytesRef term, Lucene.Net.Index.TermsEnum termsEnum, Lucene.Net.Index.FieldInfo maxTestOptions, Lucene.Net.Index.FieldInfo maxIndexOptions, ISet options, bool alwaysTestMax ) : void

Method Details

AddRandomFields() protected method

protected AddRandomFields ( Lucene.Net.Documents.Document doc ) : void
doc Lucene.Net.Documents.Document
return void

TestDocsAndFreqs() public method

public TestDocsAndFreqs ( ) : void
return void

TestDocsAndFreqsAndPositions() public method

public TestDocsAndFreqsAndPositions ( ) : void
return void

TestDocsAndFreqsAndPositionsAndOffsets() public method

public TestDocsAndFreqsAndPositionsAndOffsets ( ) : void
return void

TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads() public method

TestDocsAndFreqsAndPositionsAndPayloads() public method

public TestDocsAndFreqsAndPositionsAndPayloads ( ) : void
return void

TestDocsOnly() public method

public TestDocsOnly ( ) : void
return void

TestRandom() public method

public TestRandom ( ) : void
return void