C# Класс Lucene.Net.Codecs.Lucene41.TestBlockPostingsFormat3

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

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

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

Приватные методы

Метод Описание
AssertTermsSeeking ( Lucene.Net.Index.Terms leftTerms, Lucene.Net.Index.Terms rightTerms ) : void
Test ( ) : void
Verify ( Directory dir ) : void

Описание методов

AssertDocsAndPositionsEnum() публичный Метод

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
Результат void

AssertDocsEnum() публичный Метод

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
Результат void

AssertDocsSkipping() публичный Метод

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
Результат void

AssertPositionsSkipping() публичный Метод

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
Результат void

AssertTermStats() публичный Метод

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
Результат void

AssertTerms() публичный Метод

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
Результат void

AssertTermsEnum() публичный Метод

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
Результат void

AssertTermsStatistics() публичный Метод

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
Результат void