C# Class Lucene.Net.Index.BasePostingsFormatTestCase

Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
TestDocsAndFreqs ( ) : void
TestDocsAndFreqsAndPositions ( ) : void
TestDocsAndFreqsAndPositionsAndOffsets ( ) : void
TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads ( ) : void
TestDocsAndFreqsAndPositionsAndPayloads ( ) : void
TestDocsOnly ( ) : void
TestRandom ( ) : void

Méthodes protégées

Méthode Description
AddRandomFields ( Lucene.Net.Documents.Document doc ) : void

Private Methods

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

protected AddRandomFields ( Lucene.Net.Documents.Document doc ) : void
doc Lucene.Net.Documents.Document
Résultat void

TestDocsAndFreqs() public méthode

public TestDocsAndFreqs ( ) : void
Résultat void

TestDocsAndFreqsAndPositions() public méthode

public TestDocsAndFreqsAndPositions ( ) : void
Résultat void

TestDocsAndFreqsAndPositionsAndOffsets() public méthode

public TestDocsAndFreqsAndPositionsAndOffsets ( ) : void
Résultat void

TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads() public méthode

public TestDocsAndFreqsAndPositionsAndOffsetsAndPayloads ( ) : void
Résultat void

TestDocsAndFreqsAndPositionsAndPayloads() public méthode

public TestDocsAndFreqsAndPositionsAndPayloads ( ) : void
Résultat void

TestDocsOnly() public méthode

public TestDocsOnly ( ) : void
Résultat void

TestRandom() public méthode

public TestRandom ( ) : void
Résultat void