Show / Hide Table of Contents

    Class BaseDocValuesFormatTestCase

    Abstract class to do basic tests for a . NOTE: this test focuses on the docvalues impl, nothing else. The [stretch] goal is for this test to be so thorough in testing a new that if this test passes, then all Lucene/Solr tests should also pass. Ie, if there is some bug in a given that this test fails to catch then this test needs to be improved!

    Inheritance
    System.Object
    LuceneTestCase
    BaseIndexFileFormatTestCase
    BaseDocValuesFormatTestCase
    BaseCompressingDocValuesFormatTestCase
    Inherited Members
    BaseIndexFileFormatTestCase.GetCodec()
    BaseIndexFileFormatTestCase.SetUp()
    BaseIndexFileFormatTestCase.TearDown()
    BaseIndexFileFormatTestCase.ExcludedExtensionsFromByteCounts
    BaseIndexFileFormatTestCase.TestMergeStability()
    LuceneTestCase.TEST_VERSION_CURRENT
    LuceneTestCase.VERBOSE
    LuceneTestCase.INFOSTREAM
    LuceneTestCase.RANDOM_MULTIPLIER
    LuceneTestCase.DEFAULT_LINE_DOCS_FILE
    LuceneTestCase.JENKINS_LARGE_LINE_DOCS_FILE
    LuceneTestCase.TEST_CODEC
    LuceneTestCase.TEST_POSTINGSFORMAT
    LuceneTestCase.TEST_DOCVALUESFORMAT
    LuceneTestCase.TEST_DIRECTORY
    LuceneTestCase.TEST_LINE_DOCS_FILE
    LuceneTestCase.LEAVE_TEMPORARY
    LuceneTestCase.DoesntSupportOffsets
    LuceneTestCase.OldFormatImpersonationIsActive
    LuceneTestCase.SuiteFailureMarker
    LuceneTestCase.CodecFactory
    LuceneTestCase.DocValuesFormatFactory
    LuceneTestCase.PostingsFormatFactory
    LuceneTestCase.BeforeClass()
    LuceneTestCase.AfterClass()
    LuceneTestCase.Random
    LuceneTestCase.GetTestClass()
    LuceneTestCase.TestName
    LuceneTestCase.GetOnlySegmentReader(DirectoryReader)
    LuceneTestCase.AssertSaneFieldCaches(String)
    LuceneTestCase.AtLeast(Random, Int32)
    LuceneTestCase.AtLeast(Int32)
    LuceneTestCase.Rarely(Random)
    LuceneTestCase.Rarely()
    LuceneTestCase.Usually(Random)
    LuceneTestCase.Usually()
    LuceneTestCase.AssumeTrue(String, Boolean)
    LuceneTestCase.AssumeFalse(String, Boolean)
    LuceneTestCase.AssumeNoException(String, Exception)
    LuceneTestCase.AsSet(Object[])
    LuceneTestCase.DumpEnumerator(String, IEnumerator, TextWriter)
    LuceneTestCase.DumpArray(String, Object[], TextWriter)
    LuceneTestCase.NewIndexWriterConfig(LuceneVersion, Analyzer)
    LuceneTestCase.NewIndexWriterConfig(Random, LuceneVersion, Analyzer)
    LuceneTestCase.NewMergePolicy(Random)
    LuceneTestCase.NewMergePolicy()
    LuceneTestCase.NewLogMergePolicy()
    LuceneTestCase.NewTieredMergePolicy()
    LuceneTestCase.NewAlcoholicMergePolicy()
    LuceneTestCase.NewAlcoholicMergePolicy(Random, TimeZoneInfo)
    LuceneTestCase.NewLogMergePolicy(Random)
    LuceneTestCase.NewTieredMergePolicy(Random)
    LuceneTestCase.NewLogMergePolicy(Boolean)
    LuceneTestCase.NewLogMergePolicy(Boolean, Int32)
    LuceneTestCase.NewLogMergePolicy(Int32)
    LuceneTestCase.NewDirectory()
    LuceneTestCase.NewDirectory(Random)
    LuceneTestCase.NewMockDirectory()
    LuceneTestCase.NewMockDirectory(Random)
    LuceneTestCase.NewMockFSDirectory(DirectoryInfo)
    LuceneTestCase.NewDirectory(Directory)
    LuceneTestCase.NewFSDirectory(DirectoryInfo)
    LuceneTestCase.NewFSDirectory(DirectoryInfo, LockFactory)
    LuceneTestCase.NewDirectory(Random, Directory)
    LuceneTestCase.NewStringField(String, String, Field.Store)
    LuceneTestCase.NewTextField(String, String, Field.Store)
    LuceneTestCase.NewStringField(Random, String, String, Field.Store)
    LuceneTestCase.NewTextField(Random, String, String, Field.Store)
    LuceneTestCase.NewField(String, String, FieldType)
    LuceneTestCase.NewField(Random, String, String, FieldType)
    LuceneTestCase.RandomCulture(Random)
    LuceneTestCase.RandomTimeZone(Random)
    LuceneTestCase.CultureForName(String)
    LuceneTestCase.DefaultCodecSupportsDocValues
    LuceneTestCase.MaybeWrapReader(IndexReader)
    LuceneTestCase.NewIOContext(Random)
    LuceneTestCase.NewIOContext(Random, IOContext)
    LuceneTestCase.NewSearcher(IndexReader)
    LuceneTestCase.NewSearcher(IndexReader, Boolean)
    LuceneTestCase.NewSearcher(IndexReader, Boolean, Boolean)
    LuceneTestCase.GetDataFile(String)
    LuceneTestCase.DefaultCodecSupportsMissingDocValues
    LuceneTestCase.DefaultCodecSupportsSortedSet
    LuceneTestCase.DefaultCodecSupportsDocsWithField
    LuceneTestCase.DefaultCodecSupportsFieldUpdates
    LuceneTestCase.AssertReaderEquals(String, IndexReader, IndexReader)
    LuceneTestCase.AssertReaderStatisticsEquals(String, IndexReader, IndexReader)
    LuceneTestCase.AssertFieldsEquals(String, IndexReader, Fields, Fields, Boolean)
    LuceneTestCase.AssertFieldStatisticsEquals(String, Fields, Fields)
    LuceneTestCase.AssertTermsEquals(String, IndexReader, Terms, Terms, Boolean)
    LuceneTestCase.AssertTermsStatisticsEquals(String, Terms, Terms)
    LuceneTestCase.AssertTermsEnumEquals(String, IndexReader, TermsEnum, TermsEnum, Boolean)
    LuceneTestCase.AssertDocsAndPositionsEnumEquals(String, DocsAndPositionsEnum, DocsAndPositionsEnum)
    LuceneTestCase.AssertDocsEnumEquals(String, DocsEnum, DocsEnum, Boolean)
    LuceneTestCase.AssertDocsSkippingEquals(String, IndexReader, Int32, DocsEnum, DocsEnum, Boolean)
    LuceneTestCase.AssertPositionsSkippingEquals(String, IndexReader, Int32, DocsAndPositionsEnum, DocsAndPositionsEnum)
    LuceneTestCase.AssertTermStatsEquals(String, TermsEnum, TermsEnum)
    LuceneTestCase.AssertNormsEquals(String, IndexReader, IndexReader)
    LuceneTestCase.AssertStoredFieldsEquals(String, IndexReader, IndexReader)
    LuceneTestCase.AssertStoredFieldEquals(String, IIndexableField, IIndexableField)
    LuceneTestCase.AssertTermVectorsEquals(String, IndexReader, IndexReader)
    LuceneTestCase.AssertDocValuesEquals(String, IndexReader, IndexReader)
    LuceneTestCase.AssertDocValuesEquals(String, Int32, NumericDocValues, NumericDocValues)
    LuceneTestCase.AssertDeletedDocsEquals(String, IndexReader, IndexReader)
    LuceneTestCase.AssertFieldInfosEquals(String, IndexReader, IndexReader)
    LuceneTestCase.SlowFileExists(Directory, String)
    LuceneTestCase.CreateTempDir()
    LuceneTestCase.CreateTempDir(String)
    LuceneTestCase.CreateTempFile(String, String)
    LuceneTestCase.CreateTempFile()
    LuceneTestCase.GetFullMethodName(String)
    LuceneTestCase.RandomGaussian()
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public abstract class BaseDocValuesFormatTestCase : BaseIndexFileFormatTestCase

    Methods

    | Improve this Doc View Source

    AddRandomFields(Document)

    Declaration
    protected override void AddRandomFields(Document doc)
    Parameters
    Type Name Description
    Document doc
    Overrides
    BaseIndexFileFormatTestCase.AddRandomFields(Document)
    | Improve this Doc View Source

    CodecAcceptsHugeBinaryValues(String)

    Declaration
    protected virtual bool CodecAcceptsHugeBinaryValues(string field)
    Parameters
    Type Name Description
    System.String field
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TestBigNumericRange()

    Declaration
    public virtual void TestBigNumericRange()
    | Improve this Doc View Source

    TestBigNumericRange2()

    Declaration
    public virtual void TestBigNumericRange2()
    | Improve this Doc View Source

    TestBinaryFixedLengthVsStoredFields()

    Declaration
    public virtual void TestBinaryFixedLengthVsStoredFields()
    | Improve this Doc View Source

    TestBinaryVariableLengthVsStoredFields()

    Declaration
    public virtual void TestBinaryVariableLengthVsStoredFields()
    | Improve this Doc View Source

    TestBooleanNumericsVsStoredFields()

    Declaration
    public virtual void TestBooleanNumericsVsStoredFields()
    | Improve this Doc View Source

    TestByteMissingVsFieldCache()

    Declaration
    public virtual void TestByteMissingVsFieldCache()
    | Improve this Doc View Source

    TestByteNumericsVsStoredFields()

    Declaration
    public virtual void TestByteNumericsVsStoredFields()
    | Improve this Doc View Source

    TestBytes()

    Declaration
    public virtual void TestBytes()
    | Improve this Doc View Source

    TestBytesTwoDocumentsMerged()

    Declaration
    public virtual void TestBytesTwoDocumentsMerged()
    | Improve this Doc View Source

    TestBytesWithNewline()

    Declaration
    public virtual void TestBytesWithNewline()
    | Improve this Doc View Source

    TestCodecUsesOwnBytes()

    Declaration
    public virtual void TestCodecUsesOwnBytes()
    | Improve this Doc View Source

    TestCodecUsesOwnBytesEachTime()

    Declaration
    public virtual void TestCodecUsesOwnBytesEachTime()
    | Improve this Doc View Source

    TestCodecUsesOwnSortedBytes()

    Declaration
    public virtual void TestCodecUsesOwnSortedBytes()
    | Improve this Doc View Source

    TestCodecUsesOwnSortedBytesEachTime()

    Declaration
    public virtual void TestCodecUsesOwnSortedBytesEachTime()
    | Improve this Doc View Source

    TestDocValuesSimple()

    Simple test case to show how to use the API

    Declaration
    public virtual void TestDocValuesSimple()
    | Improve this Doc View Source

    TestEmptyBinaryValueOnPageSizes()

    Declaration
    public virtual void TestEmptyBinaryValueOnPageSizes()
    | Improve this Doc View Source

    TestEmptyBytes()

    Declaration
    public virtual void TestEmptyBytes()
    | Improve this Doc View Source

    TestEmptySortedBytes()

    Declaration
    public virtual void TestEmptySortedBytes()
    | Improve this Doc View Source

    TestGCDCompression()

    Declaration
    public virtual void TestGCDCompression()
    | Improve this Doc View Source

    TestHugeBinaryValueLimit()

    Declaration
    public virtual void TestHugeBinaryValueLimit()
    | Improve this Doc View Source

    TestHugeBinaryValues()

    Declaration
    public virtual void TestHugeBinaryValues()
    | Improve this Doc View Source

    TestInt16MissingVsFieldCache()

    Declaration
    public virtual void TestInt16MissingVsFieldCache()
    | Improve this Doc View Source

    TestInt16NumericsVsStoredFields()

    Declaration
    public virtual void TestInt16NumericsVsStoredFields()
    | Improve this Doc View Source

    TestInt32MissingVsFieldCache()

    Declaration
    public virtual void TestInt32MissingVsFieldCache()
    | Improve this Doc View Source

    TestInt32NumericsVsStoredFields()

    Declaration
    public virtual void TestInt32NumericsVsStoredFields()
    | Improve this Doc View Source

    TestInt64MissingVsFieldCache()

    Declaration
    public virtual void TestInt64MissingVsFieldCache()
    | Improve this Doc View Source

    TestInt64NumericsVsStoredFields()

    Declaration
    public virtual void TestInt64NumericsVsStoredFields()
    | Improve this Doc View Source

    TestMissingSortedBytes()

    Declaration
    public virtual void TestMissingSortedBytes()
    | Improve this Doc View Source

    TestOneNumber()

    Declaration
    public virtual void TestOneNumber()
    | Improve this Doc View Source

    TestOneSingle()

    Declaration
    public virtual void TestOneSingle()
    | Improve this Doc View Source

    TestRandomSortedBytes()

    Declaration
    public virtual void TestRandomSortedBytes()
    | Improve this Doc View Source

    TestSortedBytes()

    Declaration
    public virtual void TestSortedBytes()
    | Improve this Doc View Source

    TestSortedBytesThreeDocuments()

    Declaration
    public virtual void TestSortedBytesThreeDocuments()
    | Improve this Doc View Source

    TestSortedBytesTwoDocuments()

    Declaration
    public virtual void TestSortedBytesTwoDocuments()
    | Improve this Doc View Source

    TestSortedBytesTwoDocumentsMerged()

    Declaration
    public virtual void TestSortedBytesTwoDocumentsMerged()
    | Improve this Doc View Source

    TestSortedFixedLengthVsFieldCache()

    Declaration
    public virtual void TestSortedFixedLengthVsFieldCache()
    | Improve this Doc View Source

    TestSortedFixedLengthVsStoredFields()

    Declaration
    public virtual void TestSortedFixedLengthVsStoredFields()
    | Improve this Doc View Source

    TestSortedMergeAwayAllValues()

    Declaration
    public virtual void TestSortedMergeAwayAllValues()
    | Improve this Doc View Source

    TestSortedSetFixedLengthSingleValuedVsStoredFields()

    Declaration
    public virtual void TestSortedSetFixedLengthSingleValuedVsStoredFields()
    | Improve this Doc View Source

    TestSortedSetFixedLengthVsStoredFields()

    Declaration
    public virtual void TestSortedSetFixedLengthVsStoredFields()
    | Improve this Doc View Source

    TestSortedSetFixedLengthVsUninvertedField()

    Declaration
    public virtual void TestSortedSetFixedLengthVsUninvertedField()
    | Improve this Doc View Source

    TestSortedSetMergeAwayAllValues()

    Declaration
    public virtual void TestSortedSetMergeAwayAllValues()
    | Improve this Doc View Source

    TestSortedSetOneValue()

    Declaration
    public virtual void TestSortedSetOneValue()
    | Improve this Doc View Source

    TestSortedSetTermsEnum()

    Declaration
    public virtual void TestSortedSetTermsEnum()
    | Improve this Doc View Source

    TestSortedSetThreeValuesTwoDocs()

    Declaration
    public virtual void TestSortedSetThreeValuesTwoDocs()
    | Improve this Doc View Source

    TestSortedSetTwoDocumentsFirstMissing()

    Declaration
    public virtual void TestSortedSetTwoDocumentsFirstMissing()
    | Improve this Doc View Source

    TestSortedSetTwoDocumentsFirstMissingMerge()

    Declaration
    public virtual void TestSortedSetTwoDocumentsFirstMissingMerge()
    | Improve this Doc View Source

    TestSortedSetTwoDocumentsLastMissing()

    Declaration
    public virtual void TestSortedSetTwoDocumentsLastMissing()
    | Improve this Doc View Source

    TestSortedSetTwoDocumentsLastMissingMerge()

    Declaration
    public virtual void TestSortedSetTwoDocumentsLastMissingMerge()
    | Improve this Doc View Source

    TestSortedSetTwoDocumentsMerged()

    Declaration
    public virtual void TestSortedSetTwoDocumentsMerged()
    | Improve this Doc View Source

    TestSortedSetTwoFields()

    Declaration
    public virtual void TestSortedSetTwoFields()
    | Improve this Doc View Source

    TestSortedSetTwoValues()

    Declaration
    public virtual void TestSortedSetTwoValues()
    | Improve this Doc View Source

    TestSortedSetTwoValuesUnordered()

    Declaration
    public virtual void TestSortedSetTwoValuesUnordered()
    | Improve this Doc View Source

    TestSortedSetVariableLengthSingleValuedVsStoredFields()

    Declaration
    public virtual void TestSortedSetVariableLengthSingleValuedVsStoredFields()
    | Improve this Doc View Source

    TestSortedSetVariableLengthVsStoredFields()

    Declaration
    public virtual void TestSortedSetVariableLengthVsStoredFields()
    | Improve this Doc View Source

    TestSortedSetVariableLengthVsUninvertedField()

    Declaration
    public virtual void TestSortedSetVariableLengthVsUninvertedField()
    | Improve this Doc View Source

    TestSortedTermsEnum()

    Declaration
    public virtual void TestSortedTermsEnum()
    | Improve this Doc View Source

    TestSortedVariableLengthVsFieldCache()

    Declaration
    public virtual void TestSortedVariableLengthVsFieldCache()
    | Improve this Doc View Source

    TestSortedVariableLengthVsStoredFields()

    Declaration
    public virtual void TestSortedVariableLengthVsStoredFields()
    | Improve this Doc View Source

    TestThreads()

    Tests dv against stored fields with threads (binary/numeric/sorted, no missing)

    Declaration
    public virtual void TestThreads()
    | Improve this Doc View Source

    TestThreads2()

    Tests dv against stored fields with threads (all types + missing)

    Declaration
    public virtual void TestThreads2()
    | Improve this Doc View Source

    TestThreeBytesOneMissingWithMerging()

    Declaration
    public virtual void TestThreeBytesOneMissingWithMerging()
    | Improve this Doc View Source

    TestThreeFieldsMixed()

    Declaration
    public virtual void TestThreeFieldsMixed()
    | Improve this Doc View Source

    TestThreeFieldsMixed2()

    Declaration
    public virtual void TestThreeFieldsMixed2()
    | Improve this Doc View Source

    TestThreeNumbersOneMissingWithMerging()

    Declaration
    public virtual void TestThreeNumbersOneMissingWithMerging()
    | Improve this Doc View Source

    TestTwoBinaryValues()

    Declaration
    public virtual void TestTwoBinaryValues()
    | Improve this Doc View Source

    TestTwoBytesOneMissing()

    Declaration
    public virtual void TestTwoBytesOneMissing()
    | Improve this Doc View Source

    TestTwoBytesOneMissingWithMerging()

    Declaration
    public virtual void TestTwoBytesOneMissingWithMerging()
    | Improve this Doc View Source

    TestTwoDocumentsMerged()

    Declaration
    public virtual void TestTwoDocumentsMerged()
    | Improve this Doc View Source

    TestTwoDocumentsNumeric()

    Declaration
    public virtual void TestTwoDocumentsNumeric()
    | Improve this Doc View Source

    TestTwoFieldsMixed()

    Declaration
    public virtual void TestTwoFieldsMixed()
    | Improve this Doc View Source

    TestTwoNumbers()

    Declaration
    public virtual void TestTwoNumbers()
    | Improve this Doc View Source

    TestTwoNumbersOneMissing()

    Declaration
    public virtual void TestTwoNumbersOneMissing()
    | Improve this Doc View Source

    TestTwoNumbersOneMissingWithMerging()

    Declaration
    public virtual void TestTwoNumbersOneMissingWithMerging()
    | Improve this Doc View Source

    TestVeryLargeButLegalBytes()

    Declaration
    public virtual void TestVeryLargeButLegalBytes()
    | Improve this Doc View Source

    TestVeryLargeButLegalSortedBytes()

    Declaration
    public virtual void TestVeryLargeButLegalSortedBytes()
    | Improve this Doc View Source

    TestZeroOrMin()

    Declaration
    public virtual void TestZeroOrMin()
    | Improve this Doc View Source

    TestZeros()

    Declaration
    public virtual void TestZeros()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)