C# Class Lucene.Net.Codecs.Lucene41.TestBlockPostingsFormat3

Inheritance: Lucene.Net.Util.LuceneTestCase
Show file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
AssertDocsAndPositionsEnum ( Lucene.Net.Index.DocsAndPositionsEnum leftDocs, Lucene.Net.Index.DocsAndPositionsEnum rightDocs ) : void

checks docs + freqs + positions + payloads, sequentially

AssertDocsEnum ( Lucene.Net.Index.DocsEnum leftDocs, Lucene.Net.Index.DocsEnum rightDocs ) : void

checks docs + freqs, sequentially

AssertDocsSkipping ( int docFreq, Lucene.Net.Index.DocsEnum leftDocs, Lucene.Net.Index.DocsEnum rightDocs ) : void

checks advancing docs

AssertPositionsSkipping ( int docFreq, Lucene.Net.Index.DocsAndPositionsEnum leftDocs, Lucene.Net.Index.DocsAndPositionsEnum rightDocs ) : void

checks advancing docs + positions

AssertTermStats ( Lucene.Net.Index.TermsEnum leftTermsEnum, Lucene.Net.Index.TermsEnum rightTermsEnum ) : void

checks term-level statistics

AssertTerms ( Lucene.Net.Index.Terms leftTerms, Lucene.Net.Index.Terms rightTerms, bool deep ) : void
AssertTermsEnum ( Lucene.Net.Index.TermsEnum leftTermsEnum, Lucene.Net.Index.TermsEnum rightTermsEnum, bool deep ) : void

checks the terms enum sequentially if deep is false, it does a 'shallow' test that doesnt go down to the docsenums

AssertTermsStatistics ( Lucene.Net.Index.Terms leftTerms, Lucene.Net.Index.Terms rightTerms ) : void

checks collection-level statistics on Terms

Private Methods

Method Description
AssertTermsSeeking ( Lucene.Net.Index.Terms leftTerms, Lucene.Net.Index.Terms rightTerms ) : void
Test ( ) : void
Verify ( Directory dir ) : void

Method Details

AssertDocsAndPositionsEnum() public method

checks docs + freqs + positions + payloads, sequentially
public AssertDocsAndPositionsEnum ( Lucene.Net.Index.DocsAndPositionsEnum leftDocs, Lucene.Net.Index.DocsAndPositionsEnum rightDocs ) : void
leftDocs Lucene.Net.Index.DocsAndPositionsEnum
rightDocs Lucene.Net.Index.DocsAndPositionsEnum
return void

AssertDocsEnum() public method

checks docs + freqs, sequentially
public AssertDocsEnum ( Lucene.Net.Index.DocsEnum leftDocs, Lucene.Net.Index.DocsEnum rightDocs ) : void
leftDocs Lucene.Net.Index.DocsEnum
rightDocs Lucene.Net.Index.DocsEnum
return void

AssertDocsSkipping() public method

checks advancing docs
public AssertDocsSkipping ( int docFreq, Lucene.Net.Index.DocsEnum leftDocs, Lucene.Net.Index.DocsEnum rightDocs ) : void
docFreq int
leftDocs Lucene.Net.Index.DocsEnum
rightDocs Lucene.Net.Index.DocsEnum
return void

AssertPositionsSkipping() public method

checks advancing docs + positions
public AssertPositionsSkipping ( int docFreq, Lucene.Net.Index.DocsAndPositionsEnum leftDocs, Lucene.Net.Index.DocsAndPositionsEnum rightDocs ) : void
docFreq int
leftDocs Lucene.Net.Index.DocsAndPositionsEnum
rightDocs Lucene.Net.Index.DocsAndPositionsEnum
return void

AssertTermStats() public method

checks term-level statistics
public AssertTermStats ( Lucene.Net.Index.TermsEnum leftTermsEnum, Lucene.Net.Index.TermsEnum rightTermsEnum ) : void
leftTermsEnum Lucene.Net.Index.TermsEnum
rightTermsEnum Lucene.Net.Index.TermsEnum
return void

AssertTerms() public method

public AssertTerms ( Lucene.Net.Index.Terms leftTerms, Lucene.Net.Index.Terms rightTerms, bool deep ) : void
leftTerms Lucene.Net.Index.Terms
rightTerms Lucene.Net.Index.Terms
deep bool
return void

AssertTermsEnum() public method

checks the terms enum sequentially if deep is false, it does a 'shallow' test that doesnt go down to the docsenums
public AssertTermsEnum ( Lucene.Net.Index.TermsEnum leftTermsEnum, Lucene.Net.Index.TermsEnum rightTermsEnum, bool deep ) : void
leftTermsEnum Lucene.Net.Index.TermsEnum
rightTermsEnum Lucene.Net.Index.TermsEnum
deep bool
return void

AssertTermsStatistics() public method

checks collection-level statistics on Terms
public AssertTermsStatistics ( Lucene.Net.Index.Terms leftTerms, Lucene.Net.Index.Terms rightTerms ) : void
leftTerms Lucene.Net.Index.Terms
rightTerms Lucene.Net.Index.Terms
return void