org.apache.lucene.index

## Class BaseDocValuesFormatTestCase

- java.lang.Object
- - org.junit.Assert
  - - org.apache.lucene.util.LuceneTestCase
    - - org.apache.lucene.index.BaseDocValuesFormatTestCase

- Direct Known Subclasses:
    BaseCompressingDocValuesFormatTestCase

      public abstract class BaseDocValuesFormatTestCase
      extends LuceneTestCase

  Abstract class to do basic tests for a docvalues format. 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 DocValuesFormat that if this test passes, then all Lucene/Solr tests should also pass. Ie, if there is some bug in a given DocValuesFormat that this test fails to catch then this test needs to be improved!

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.lucene.util.LuceneTestCase

      `LuceneTestCase.AwaitsFix, LuceneTestCase.BadApple, LuceneTestCase.Monster, LuceneTestCase.Nightly, LuceneTestCase.Slow, LuceneTestCase.SuppressCodecs, LuceneTestCase.SuppressFileSystems, LuceneTestCase.SuppressFsync, LuceneTestCase.SuppressReproduceLine, LuceneTestCase.SuppressSysoutChecks, LuceneTestCase.SuppressTempFileChecks, LuceneTestCase.Weekly`

  - ### Field Summary

    - ### Fields inherited from class org.apache.lucene.util.LuceneTestCase

      `assertsAreEnabled, classRules, DEFAULT_LINE_DOCS_FILE, INFOSTREAM, JENKINS_LARGE_LINE_DOCS_FILE, LEAVE_TEMPORARY, MAYBE_CACHE_POLICY, RANDOM_MULTIPLIER, ruleChain, suiteFailureMarker, SYSPROP_AWAITSFIX, SYSPROP_BADAPPLES, SYSPROP_FAILFAST, SYSPROP_MAXFAILURES, SYSPROP_MONSTER, SYSPROP_NIGHTLY, SYSPROP_SLOW, SYSPROP_WEEKLY, TEST_ASSERTS_ENABLED, TEST_AWAITSFIX, TEST_CODEC, TEST_DIRECTORY, TEST_DOCVALUESFORMAT, TEST_LINE_DOCS_FILE, TEST_NIGHTLY, TEST_POSTINGSFORMAT, TEST_SLOW, TEST_THROTTLING, TEST_WEEKLY, VERBOSE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseDocValuesFormatTestCase()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `addRandomFields(Document doc)` Add random fields to the provided document.
    `protected boolean` | `codecAcceptsHugeBinaryValues(String field)`
    `protected boolean` | `codecSupportsDocsWithField()` Returns true if the codec "supports" docsWithField (other codecs return MatchAllBits, because you couldnt write missing values before)
    `protected boolean` | `codecSupportsSortedNumeric()` Returns true if the default codec supports SORTED_NUMERIC docvalues
    `protected boolean` | `codecSupportsSortedSet()` Returns true if the default codec supports SORTED_SET docvalues
    `protected void` | `doTestSortedSetEnumAdvanceIndependently(SortedSetDocValues dv)`
    `protected void` | `doTestSortedSetVsStoredFields(int numDocs, int minLength, int maxLength, int maxValuesPerDoc, int maxUniqueValues)`
    `protected void` | `doTestSortedVsStoredFields(int numDocs, int minLength, int maxLength)`
    `protected Collection<String>` | `excludedExtensionsFromByteCounts()` Return the list of extensions that should be excluded from byte counts when comparing indices that store the same content.
    `protected abstract Codec` | `getCodec()` Returns the codec to run tests against
    `void` | `setUp()` For subclasses to override.
    `void` | `tearDown()` For subclasses to override.
    `void` | `testBigNumericRange()`
    `void` | `testBigNumericRange2()`
    `void` | `testBinaryFixedLengthVsStoredFields()`
    `void` | `testBinaryMergeAwayAllValuesLargeSegment()`
    `void` | `testBinaryVariableLengthVsStoredFields()`
    `void` | `testBooleanNumericsVsStoredFields()`
    `void` | `testByteNumericsVsStoredFields()`
    `void` | `testBytes()`
    `void` | `testBytesMergeAwayAllValues()`
    `void` | `testBytesTwoDocumentsMerged()`
    `void` | `testBytesWithNewline()`
    `void` | `testCodecUsesOwnBytes()`
    `void` | `testCodecUsesOwnSortedBytes()`
    `void` | `testDocValuesSimple()`
    `void` | `testEmptyBinaryValueOnPageSizes()`
    `void` | `testEmptyBytes()`
    `void` | `testEmptySortedBytes()`
    `void` | `testGCDCompression()`
    `void` | `testIntNumericsVsStoredFields()`
    `void` | `testLongNumericsVsStoredFields()`
    `void` | `testMergeStability()` The purpose of this test is to make sure that bulk merge doesn't accumulate useless data over runs.
    `void` | `testMissingSortedBytes()`
    `void` | `testMultiClose()` Calls close multiple times on closeable codec apis
    `void` | `testNumberMergeAwayAllValues()`
    `void` | `testNumericMergeAwayAllValuesLargeSegment()`
    `void` | `testOneFloat()`
    `void` | `testOneNumber()`
    `void` | `testOneSortedNumber()`
    `void` | `testOneSortedNumberOneMissing()`
    `void` | `testRamBytesUsed()` Test the accuracy of the ramBytesUsed estimations.
    `void` | `testRandomExceptions()` Tests exception handling on write and openInput/createOutput
    `void` | `testRandomSortedBytes()`
    `void` | `testShortNumericsVsStoredFields()`
    `void` | `testSortedBytes()`
    `void` | `testSortedBytesThreeDocuments()`
    `void` | `testSortedBytesTwoDocuments()`
    `void` | `testSortedBytesTwoDocumentsMerged()`
    `void` | `testSortedEnumAdvanceIndependently()`
    `void` | `testSortedFixedLengthVsStoredFields()`
    `void` | `testSortedMergeAwayAllValues()`
    `void` | `testSortedMergeAwayAllValuesLargeSegment()`
    `void` | `testSortedNumberMerge()`
    `void` | `testSortedNumberMergeAwayAllValues()`
    `void` | `testSortedNumericMergeAwayAllValuesLargeSegment()`
    `void` | `testSortedNumericsFewUniqueSetsVsStoredFields()`
    `void` | `testSortedNumericsMultipleValuesVsStoredFields()`
    `void` | `testSortedNumericsSingleValuedMissingVsStoredFields()`
    `void` | `testSortedNumericsSingleValuedVsStoredFields()`
    `void` | `testSortedSetEnumAdvanceIndependently()`
    `void` | `testSortedSetFixedLengthFewUniqueSetsVsStoredFields()`
    `void` | `testSortedSetFixedLengthManyValuesPerDocVsStoredFields()`
    `void` | `testSortedSetFixedLengthSingleValuedVsStoredFields()`
    `void` | `testSortedSetFixedLengthVsStoredFields()`
    `void` | `testSortedSetMergeAwayAllValues()`
    `void` | `testSortedSetMergeAwayAllValuesLargeSegment()`
    `void` | `testSortedSetOneValue()`
    `void` | `testSortedSetTermsEnum()`
    `void` | `testSortedSetThreeValuesTwoDocs()`
    `void` | `testSortedSetTwoDocumentsFirstMissing()`
    `void` | `testSortedSetTwoDocumentsFirstMissingMerge()`
    `void` | `testSortedSetTwoDocumentsLastMissing()`
    `void` | `testSortedSetTwoDocumentsLastMissingMerge()`
    `void` | `testSortedSetTwoDocumentsMerged()`
    `void` | `testSortedSetTwoFields()`
    `void` | `testSortedSetTwoValues()`
    `void` | `testSortedSetTwoValuesUnordered()`
    `void` | `testSortedSetVariableLengthFewUniqueSetsVsStoredFields()`
    `void` | `testSortedSetVariableLengthManyValuesPerDocVsStoredFields()`
    `void` | `testSortedSetVariableLengthSingleValuedVsStoredFields()`
    `void` | `testSortedSetVariableLengthVsStoredFields()`
    `void` | `testSortedTermsEnum()`
    `void` | `testSortedVariableLengthVsStoredFields()`
    `void` | `testThreads()` Tests dv against stored fields with threads (binary/numeric/sorted, no missing)
    `void` | `testThreads2()` Tests dv against stored fields with threads (all types + missing)
    `void` | `testThreads3()`
    `void` | `testThreeBytesOneMissingWithMerging()`
    `void` | `testThreeFieldsMixed()`
    `void` | `testThreeFieldsMixed2()`
    `void` | `testThreeNumbersOneMissingWithMerging()`
    `void` | `testTwoBinaryValues()`
    `void` | `testTwoBytesOneMissing()`
    `void` | `testTwoBytesOneMissingWithMerging()`
    `void` | `testTwoDocumentsMerged()`
    `void` | `testTwoDocumentsNumeric()`
    `void` | `testTwoFieldsMixed()`
    `void` | `testTwoNumbers()`
    `void` | `testTwoNumbersOneMissing()`
    `void` | `testTwoNumbersOneMissingWithMerging()`
    `void` | `testTwoSortedNumber()`
    `void` | `testTwoSortedNumberOneMissing()`
    `void` | `testTwoSortedNumberSameValue()`
    `void` | `testVeryLargeButLegalBytes()`
    `void` | `testVeryLargeButLegalSortedBytes()`
    `void` | `testZeroOrMin()`
    `void` | `testZeros()`

    - ### Methods inherited from class org.apache.lucene.util.LuceneTestCase

      `assertDeletedDocsEquals, assertDocsAndPositionsEnumEquals, assertDocsEnumEquals, assertDocsSkippingEquals, assertDocValuesEquals, assertDocValuesEquals, assertFieldInfosEquals, assertFieldsEquals, assertFieldStatisticsEquals, assertNormsEquals, assertPositionsSkippingEquals, assertReaderEquals, assertReaderStatisticsEquals, assertStoredFieldEquals, assertStoredFieldsEquals, assertTermsEnumEquals, assertTermsEquals, assertTermsStatisticsEquals, assertTermStatsEquals, assertTermVectorsEquals, asSet, assumeFalse, assumeNoException, assumeTrue, assumeWorkingMMapOnWindows, atLeast, atLeast, closeAfterSuite, closeAfterTest, collate, createTempDir, createTempDir, createTempFile, createTempFile, dumpArray, dumpIterator, getBaseTempDirForTestClass, getDataInputStream, getDataPath, getOnlySegmentReader, getTestClass, getTestName, hasWorkingMMapOnWindows, isTestThread, localeForLanguageTag, maybeChangeLiveIndexWriterConfig, maybeWrapReader, newAlcoholicMergePolicy, newAlcoholicMergePolicy, newDirectory, newDirectory, newDirectory, newDirectory, newDirectory, newField, newField, newFSDirectory, newFSDirectory, newIndexWriterConfig, newIndexWriterConfig, newIndexWriterConfig, newIOContext, newIOContext, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newMergePolicy, newMergePolicy, newMockDirectory, newMockDirectory, newMockDirectory, newMockFSDirectory, newMockFSDirectory, newSearcher, newSearcher, newSearcher, newStringField, newStringField, newStringField, newStringField, newTextField, newTextField, newTieredMergePolicy, newTieredMergePolicy, overrideDefaultQueryCache, overrideTestDefaultQueryCache, random, randomLocale, randomTimeZone, rarely, rarely, replaceMaxFailureRule, resetDefaultQueryCache, restoreCPUCoreCount, restoreIndexWriterMaxDocs, restoreSpins, runWithRestrictedPermissions, setIndexWriterMaxDocs, setupCPUCoreCount, setupSpins, slowFileExists, usually, usually, wrapReader`

    - ### Methods inherited from class org.junit.Assert

      `assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BaseDocValuesFormatTestCase

          public BaseDocValuesFormatTestCase()

  - ### Method Detail

    - #### addRandomFields

          protected void addRandomFields(Document doc)

      Add random fields to the provided document.

    - #### testOneNumber

          public void testOneNumber()
                             throws IOException

      Throws:
        `IOException`

    - #### testOneFloat

          public void testOneFloat()
                            throws IOException

      Throws:
        `IOException`

    - #### testTwoNumbers

          public void testTwoNumbers()
                              throws IOException

      Throws:
        `IOException`

    - #### testTwoBinaryValues

          public void testTwoBinaryValues()
                                   throws IOException

      Throws:
        `IOException`

    - #### testTwoFieldsMixed

          public void testTwoFieldsMixed()
                                  throws IOException

      Throws:
        `IOException`

    - #### testThreeFieldsMixed

          public void testThreeFieldsMixed()
                                    throws IOException

      Throws:
        `IOException`

    - #### testThreeFieldsMixed2

          public void testThreeFieldsMixed2()
                                     throws IOException

      Throws:
        `IOException`

    - #### testTwoDocumentsNumeric

          public void testTwoDocumentsNumeric()
                                       throws IOException

      Throws:
        `IOException`

    - #### testTwoDocumentsMerged

          public void testTwoDocumentsMerged()
                                      throws IOException

      Throws:
        `IOException`

    - #### testBigNumericRange

          public void testBigNumericRange()
                                   throws IOException

      Throws:
        `IOException`

    - #### testBigNumericRange2

          public void testBigNumericRange2()
                                    throws IOException

      Throws:
        `IOException`

    - #### testBytes

          public void testBytes()
                         throws IOException

      Throws:
        `IOException`

    - #### testBytesTwoDocumentsMerged

          public void testBytesTwoDocumentsMerged()
                                           throws IOException

      Throws:
        `IOException`

    - #### testBytesMergeAwayAllValues

          public void testBytesMergeAwayAllValues()
                                           throws IOException

      Throws:
        `IOException`

    - #### testSortedBytes

          public void testSortedBytes()
                               throws IOException

      Throws:
        `IOException`

    - #### testSortedBytesTwoDocuments

          public void testSortedBytesTwoDocuments()
                                           throws IOException

      Throws:
        `IOException`

    - #### testSortedBytesThreeDocuments

          public void testSortedBytesThreeDocuments()
                                             throws IOException

      Throws:
        `IOException`

    - #### testSortedBytesTwoDocumentsMerged

          public void testSortedBytesTwoDocumentsMerged()
                                                 throws IOException

      Throws:
        `IOException`

    - #### testSortedMergeAwayAllValues

          public void testSortedMergeAwayAllValues()
                                            throws IOException

      Throws:
        `IOException`

    - #### testBytesWithNewline

          public void testBytesWithNewline()
                                    throws IOException

      Throws:
        `IOException`

    - #### testMissingSortedBytes

          public void testMissingSortedBytes()
                                      throws IOException

      Throws:
        `IOException`

    - #### testSortedTermsEnum

          public void testSortedTermsEnum()
                                   throws IOException

      Throws:
        `IOException`

    - #### testEmptySortedBytes

          public void testEmptySortedBytes()
                                    throws IOException

      Throws:
        `IOException`

    - #### testEmptyBytes

          public void testEmptyBytes()
                              throws IOException

      Throws:
        `IOException`

    - #### testVeryLargeButLegalBytes

          public void testVeryLargeButLegalBytes()
                                          throws IOException

      Throws:
        `IOException`

    - #### testVeryLargeButLegalSortedBytes

          public void testVeryLargeButLegalSortedBytes()
                                                throws IOException

      Throws:
        `IOException`

    - #### testCodecUsesOwnBytes

          public void testCodecUsesOwnBytes()
                                     throws IOException

      Throws:
        `IOException`

    - #### testCodecUsesOwnSortedBytes

          public void testCodecUsesOwnSortedBytes()
                                           throws IOException

      Throws:
        `IOException`

    - #### testDocValuesSimple

          public void testDocValuesSimple()
                                   throws IOException

      Throws:
        `IOException`

    - #### testRandomSortedBytes

          public void testRandomSortedBytes()
                                     throws IOException

      Throws:
        `IOException`

    - #### testBooleanNumericsVsStoredFields

          public void testBooleanNumericsVsStoredFields()
                                                 throws Exception

      Throws:
        `Exception`

    - #### testByteNumericsVsStoredFields

          public void testByteNumericsVsStoredFields()
                                              throws Exception

      Throws:
        `Exception`

    - #### testShortNumericsVsStoredFields

          public void testShortNumericsVsStoredFields()
                                               throws Exception

      Throws:
        `Exception`

    - #### testIntNumericsVsStoredFields

          public void testIntNumericsVsStoredFields()
                                             throws Exception

      Throws:
        `Exception`

    - #### testLongNumericsVsStoredFields

          public void testLongNumericsVsStoredFields()
                                              throws Exception

      Throws:
        `Exception`

    - #### testBinaryFixedLengthVsStoredFields

          public void testBinaryFixedLengthVsStoredFields()
                                                   throws Exception

      Throws:
        `Exception`

    - #### testBinaryVariableLengthVsStoredFields

          public void testBinaryVariableLengthVsStoredFields()
                                                      throws Exception

      Throws:
        `Exception`

    - #### doTestSortedVsStoredFields

          protected void doTestSortedVsStoredFields(int numDocs,
                                        int minLength,
                                        int maxLength)
                                             throws Exception

      Throws:
        `Exception`

    - #### testSortedFixedLengthVsStoredFields

          public void testSortedFixedLengthVsStoredFields()
                                                   throws Exception

      Throws:
        `Exception`

    - #### testSortedVariableLengthVsStoredFields

          public void testSortedVariableLengthVsStoredFields()
                                                      throws Exception

      Throws:
        `Exception`

    - #### testSortedSetOneValue

          public void testSortedSetOneValue()
                                     throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTwoFields

          public void testSortedSetTwoFields()
                                      throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTwoDocumentsMerged

          public void testSortedSetTwoDocumentsMerged()
                                               throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTwoValues

          public void testSortedSetTwoValues()
                                      throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTwoValuesUnordered

          public void testSortedSetTwoValuesUnordered()
                                               throws IOException

      Throws:
        `IOException`

    - #### testSortedSetThreeValuesTwoDocs

          public void testSortedSetThreeValuesTwoDocs()
                                               throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTwoDocumentsLastMissing

          public void testSortedSetTwoDocumentsLastMissing()
                                                    throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTwoDocumentsLastMissingMerge

          public void testSortedSetTwoDocumentsLastMissingMerge()
                                                         throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTwoDocumentsFirstMissing

          public void testSortedSetTwoDocumentsFirstMissing()
                                                     throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTwoDocumentsFirstMissingMerge

          public void testSortedSetTwoDocumentsFirstMissingMerge()
                                                          throws IOException

      Throws:
        `IOException`

    - #### testSortedSetMergeAwayAllValues

          public void testSortedSetMergeAwayAllValues()
                                               throws IOException

      Throws:
        `IOException`

    - #### testSortedSetTermsEnum

          public void testSortedSetTermsEnum()
                                      throws IOException

      Throws:
        `IOException`

    - #### doTestSortedSetVsStoredFields

          protected void doTestSortedSetVsStoredFields(int numDocs,
                                           int minLength,
                                           int maxLength,
                                           int maxValuesPerDoc,
                                           int maxUniqueValues)
                                                throws Exception

      Throws:
        `Exception`

    - #### testSortedSetFixedLengthVsStoredFields

          public void testSortedSetFixedLengthVsStoredFields()
                                                      throws Exception

      Throws:
        `Exception`

    - #### testSortedNumericsSingleValuedVsStoredFields

          public void testSortedNumericsSingleValuedVsStoredFields()
                                                            throws Exception

      Throws:
        `Exception`

    - #### testSortedNumericsSingleValuedMissingVsStoredFields

          public void testSortedNumericsSingleValuedMissingVsStoredFields()
                                                                   throws Exception

      Throws:
        `Exception`

    - #### testSortedNumericsMultipleValuesVsStoredFields

          public void testSortedNumericsMultipleValuesVsStoredFields()
                                                              throws Exception

      Throws:
        `Exception`

    - #### testSortedNumericsFewUniqueSetsVsStoredFields

          public void testSortedNumericsFewUniqueSetsVsStoredFields()
                                                             throws Exception

      Throws:
        `Exception`

    - #### testSortedSetVariableLengthVsStoredFields

          public void testSortedSetVariableLengthVsStoredFields()
                                                         throws Exception

      Throws:
        `Exception`

    - #### testSortedSetFixedLengthSingleValuedVsStoredFields

          public void testSortedSetFixedLengthSingleValuedVsStoredFields()
                                                                  throws Exception

      Throws:
        `Exception`

    - #### testSortedSetVariableLengthSingleValuedVsStoredFields

          public void testSortedSetVariableLengthSingleValuedVsStoredFields()
                                                                     throws Exception

      Throws:
        `Exception`

    - #### testSortedSetFixedLengthFewUniqueSetsVsStoredFields

          public void testSortedSetFixedLengthFewUniqueSetsVsStoredFields()
                                                                   throws Exception

      Throws:
        `Exception`

    - #### testSortedSetVariableLengthFewUniqueSetsVsStoredFields

          public void testSortedSetVariableLengthFewUniqueSetsVsStoredFields()
                                                                      throws Exception

      Throws:
        `Exception`

    - #### testSortedSetVariableLengthManyValuesPerDocVsStoredFields

          public void testSortedSetVariableLengthManyValuesPerDocVsStoredFields()
                                                                         throws Exception

      Throws:
        `Exception`

    - #### testSortedSetFixedLengthManyValuesPerDocVsStoredFields

          public void testSortedSetFixedLengthManyValuesPerDocVsStoredFields()
                                                                      throws Exception

      Throws:
        `Exception`

    - #### testGCDCompression

          public void testGCDCompression()
                                  throws Exception

      Throws:
        `Exception`

    - #### testZeros

          public void testZeros()
                         throws Exception

      Throws:
        `Exception`

    - #### testZeroOrMin

          public void testZeroOrMin()
                             throws Exception

      Throws:
        `Exception`

    - #### testTwoNumbersOneMissing

          public void testTwoNumbersOneMissing()
                                        throws IOException

      Throws:
        `IOException`

    - #### testTwoNumbersOneMissingWithMerging

          public void testTwoNumbersOneMissingWithMerging()
                                                   throws IOException

      Throws:
        `IOException`

    - #### testThreeNumbersOneMissingWithMerging

          public void testThreeNumbersOneMissingWithMerging()
                                                     throws IOException

      Throws:
        `IOException`

    - #### testTwoBytesOneMissing

          public void testTwoBytesOneMissing()
                                      throws IOException

      Throws:
        `IOException`

    - #### testTwoBytesOneMissingWithMerging

          public void testTwoBytesOneMissingWithMerging()
                                                 throws IOException

      Throws:
        `IOException`

    - #### testThreeBytesOneMissingWithMerging

          public void testThreeBytesOneMissingWithMerging()
                                                   throws IOException

      Throws:
        `IOException`

    - #### testThreads

          public void testThreads()
                           throws Exception

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

    - #### testThreads2

          @LuceneTestCase.Slow
          public void testThreads2()
                            throws Exception

      Tests dv against stored fields with threads (all types + missing)
      Throws:
        `Exception`

    - #### testThreads3

          @LuceneTestCase.Slow
          public void testThreads3()
                            throws Exception

      Throws:
        `Exception`

    - #### testEmptyBinaryValueOnPageSizes

          public void testEmptyBinaryValueOnPageSizes()
                                               throws Exception

      Throws:
        `Exception`

    - #### testOneSortedNumber

          public void testOneSortedNumber()
                                   throws IOException

      Throws:
        `IOException`

    - #### testOneSortedNumberOneMissing

          public void testOneSortedNumberOneMissing()
                                             throws IOException

      Throws:
        `IOException`

    - #### testNumberMergeAwayAllValues

          public void testNumberMergeAwayAllValues()
                                            throws IOException

      Throws:
        `IOException`

    - #### testTwoSortedNumber

          public void testTwoSortedNumber()
                                   throws IOException

      Throws:
        `IOException`

    - #### testTwoSortedNumberSameValue

          public void testTwoSortedNumberSameValue()
                                            throws IOException

      Throws:
        `IOException`

    - #### testTwoSortedNumberOneMissing

          public void testTwoSortedNumberOneMissing()
                                             throws IOException

      Throws:
        `IOException`

    - #### testSortedNumberMerge

          public void testSortedNumberMerge()
                                     throws IOException

      Throws:
        `IOException`

    - #### testSortedNumberMergeAwayAllValues

          public void testSortedNumberMergeAwayAllValues()
                                                  throws IOException

      Throws:
        `IOException`

    - #### testSortedEnumAdvanceIndependently

          public void testSortedEnumAdvanceIndependently()
                                                  throws IOException

      Throws:
        `IOException`

    - #### testSortedSetEnumAdvanceIndependently

          public void testSortedSetEnumAdvanceIndependently()
                                                     throws IOException

      Throws:
        `IOException`

    - #### doTestSortedSetEnumAdvanceIndependently

          protected void doTestSortedSetEnumAdvanceIndependently(SortedSetDocValues dv)
                                                          throws IOException

      Throws:
        `IOException`

    - #### testSortedMergeAwayAllValuesLargeSegment

          public void testSortedMergeAwayAllValuesLargeSegment()
                                                        throws IOException

      Throws:
        `IOException`

    - #### testSortedSetMergeAwayAllValuesLargeSegment

          public void testSortedSetMergeAwayAllValuesLargeSegment()
                                                           throws IOException

      Throws:
        `IOException`

    - #### testNumericMergeAwayAllValuesLargeSegment

          public void testNumericMergeAwayAllValuesLargeSegment()
                                                         throws IOException

      Throws:
        `IOException`

    - #### testSortedNumericMergeAwayAllValuesLargeSegment

          public void testSortedNumericMergeAwayAllValuesLargeSegment()
                                                               throws IOException

      Throws:
        `IOException`

    - #### testBinaryMergeAwayAllValuesLargeSegment

          public void testBinaryMergeAwayAllValuesLargeSegment()
                                                        throws IOException

      Throws:
        `IOException`

    - #### codecAcceptsHugeBinaryValues

          protected boolean codecAcceptsHugeBinaryValues(String field)

    - #### codecSupportsDocsWithField

          protected boolean codecSupportsDocsWithField()

      Returns true if the codec "supports" docsWithField (other codecs return MatchAllBits, because you couldnt write missing values before)

    - #### codecSupportsSortedSet

          protected boolean codecSupportsSortedSet()

      Returns true if the default codec supports SORTED_SET docvalues

    - #### codecSupportsSortedNumeric

          protected boolean codecSupportsSortedNumeric()

      Returns true if the default codec supports SORTED_NUMERIC docvalues

    - #### getCodec

          protected abstract Codec getCodec()

      Returns the codec to run tests against

    - #### setUp

          public void setUp()
                     throws Exception

      Description copied from class: `LuceneTestCase`
      For subclasses to override. Overrides must call `super.setUp()`.
      Overrides:
        `setUp` in class `LuceneTestCase`
      Throws:
        `Exception`

    - #### tearDown

          public void tearDown()
                        throws Exception

      Description copied from class: `LuceneTestCase`
      For subclasses to override. Overrides must call `super.tearDown()`.
      Overrides:
        `tearDown` in class `LuceneTestCase`
      Throws:
        `Exception`

    - #### excludedExtensionsFromByteCounts

          protected Collection<String> excludedExtensionsFromByteCounts()

      Return the list of extensions that should be excluded from byte counts when comparing indices that store the same content.

    - #### testMergeStability

          public void testMergeStability()
                                  throws Exception

      The purpose of this test is to make sure that bulk merge doesn't accumulate useless data over runs.
      Throws:
        `Exception`

    - #### testRamBytesUsed

          @LuceneTestCase.Slow
          public void testRamBytesUsed()
                                throws IOException

      Test the accuracy of the ramBytesUsed estimations.
      Throws:
        `IOException`

    - #### testMultiClose

          public void testMultiClose()
                              throws IOException

      Calls close multiple times on closeable codec apis
      Throws:
        `IOException`

    - #### testRandomExceptions

          public void testRandomExceptions()
                                    throws Exception

      Tests exception handling on write and openInput/createOutput
      Throws:
        `Exception`

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.