public abstract class BaseDocValuesFormatTestCase extends LuceneTestCase
LuceneTestCase.AwaitsFix, LuceneTestCase.BadApple, LuceneTestCase.Monster, LuceneTestCase.Nightly, LuceneTestCase.Slow, LuceneTestCase.SuppressCodecs, LuceneTestCase.SuppressFileSystems, LuceneTestCase.SuppressFsync, LuceneTestCase.SuppressReproduceLine, LuceneTestCase.SuppressSysoutChecks, LuceneTestCase.SuppressTempFileChecks, LuceneTestCase.ThrowingRunnable, LuceneTestCase.WeeklyassertsAreEnabled, 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 and Description |
|---|
BaseDocValuesFormatTestCase() |
addVirusChecker, assertDeletedDocsEquals, assertDocsAndPositionsEnumEquals, assertDocsEnumEquals, assertDocsSkippingEquals, assertDocValuesEquals, assertDocValuesEquals, assertFieldInfosEquals, assertFieldsEquals, assertFieldStatisticsEquals, assertNormsEquals, assertPointsEquals, assertPositionsSkippingEquals, assertReaderEquals, assertReaderStatisticsEquals, assertStoredFieldEquals, assertStoredFieldsEquals, assertTermsEnumEquals, assertTermsEquals, assertTermsStatisticsEquals, assertTermStatsEquals, assertTermVectorsEquals, asSet, assumeFalse, assumeNoException, assumeTrue, atLeast, atLeast, closeAfterSuite, closeAfterTest, collate, createTempDir, createTempDir, createTempFile, createTempFile, dumpArray, dumpIterator, expectThrows, getBaseTempDirForTestClass, getDataInputStream, getDataPath, getOnlyLeafReader, getTestClass, getTestName, 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, newMaybeVirusCheckingDirectory, newMaybeVirusCheckingFSDirectory, 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, wrapReaderassertArrayEquals, 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, failprotected void addRandomFields(Document doc)
public void testOneNumber()
throws IOException
IOExceptionpublic void testOneFloat()
throws IOException
IOExceptionpublic void testTwoNumbers()
throws IOException
IOExceptionpublic void testTwoBinaryValues()
throws IOException
IOExceptionpublic void testTwoFieldsMixed()
throws IOException
IOExceptionpublic void testThreeFieldsMixed()
throws IOException
IOExceptionpublic void testThreeFieldsMixed2()
throws IOException
IOExceptionpublic void testTwoDocumentsNumeric()
throws IOException
IOExceptionpublic void testTwoDocumentsMerged()
throws IOException
IOExceptionpublic void testBigNumericRange()
throws IOException
IOExceptionpublic void testBigNumericRange2()
throws IOException
IOExceptionpublic void testBytes()
throws IOException
IOExceptionpublic void testBytesTwoDocumentsMerged()
throws IOException
IOExceptionpublic void testBytesMergeAwayAllValues()
throws IOException
IOExceptionpublic void testSortedBytes()
throws IOException
IOExceptionpublic void testSortedBytesTwoDocuments()
throws IOException
IOExceptionpublic void testSortedBytesThreeDocuments()
throws IOException
IOExceptionpublic void testSortedBytesTwoDocumentsMerged()
throws IOException
IOExceptionpublic void testSortedMergeAwayAllValues()
throws IOException
IOExceptionpublic void testBytesWithNewline()
throws IOException
IOExceptionpublic void testMissingSortedBytes()
throws IOException
IOExceptionpublic void testSortedTermsEnum()
throws IOException
IOExceptionpublic void testEmptySortedBytes()
throws IOException
IOExceptionpublic void testEmptyBytes()
throws IOException
IOExceptionpublic void testVeryLargeButLegalBytes()
throws IOException
IOExceptionpublic void testVeryLargeButLegalSortedBytes()
throws IOException
IOExceptionpublic void testCodecUsesOwnBytes()
throws IOException
IOExceptionpublic void testCodecUsesOwnSortedBytes()
throws IOException
IOExceptionpublic void testDocValuesSimple()
throws IOException
IOExceptionpublic void testRandomSortedBytes()
throws IOException
IOExceptionpublic void testBooleanNumericsVsStoredFields()
throws Exception
Exceptionpublic void testByteNumericsVsStoredFields()
throws Exception
Exceptionpublic void testShortNumericsVsStoredFields()
throws Exception
Exceptionpublic void testIntNumericsVsStoredFields()
throws Exception
Exceptionpublic void testLongNumericsVsStoredFields()
throws Exception
Exceptionpublic void testBinaryFixedLengthVsStoredFields()
throws Exception
Exceptionpublic void testBinaryVariableLengthVsStoredFields()
throws Exception
Exceptionprotected void doTestSortedVsStoredFields(int numDocs,
int minLength,
int maxLength)
throws Exception
Exceptionpublic void testSortedFixedLengthVsStoredFields()
throws Exception
Exceptionpublic void testSortedVariableLengthVsStoredFields()
throws Exception
Exceptionpublic void testSortedSetOneValue()
throws IOException
IOExceptionpublic void testSortedSetTwoFields()
throws IOException
IOExceptionpublic void testSortedSetTwoDocumentsMerged()
throws IOException
IOExceptionpublic void testSortedSetTwoValues()
throws IOException
IOExceptionpublic void testSortedSetTwoValuesUnordered()
throws IOException
IOExceptionpublic void testSortedSetThreeValuesTwoDocs()
throws IOException
IOExceptionpublic void testSortedSetTwoDocumentsLastMissing()
throws IOException
IOExceptionpublic void testSortedSetTwoDocumentsLastMissingMerge()
throws IOException
IOExceptionpublic void testSortedSetTwoDocumentsFirstMissing()
throws IOException
IOExceptionpublic void testSortedSetTwoDocumentsFirstMissingMerge()
throws IOException
IOExceptionpublic void testSortedSetMergeAwayAllValues()
throws IOException
IOExceptionpublic void testSortedSetTermsEnum()
throws IOException
IOExceptionprotected void doTestSortedSetVsStoredFields(int numDocs,
int minLength,
int maxLength,
int maxValuesPerDoc,
int maxUniqueValues)
throws Exception
Exceptionpublic void testSortedSetFixedLengthVsStoredFields()
throws Exception
Exceptionpublic void testSortedNumericsSingleValuedVsStoredFields()
throws Exception
Exceptionpublic void testSortedNumericsSingleValuedMissingVsStoredFields()
throws Exception
Exceptionpublic void testSortedNumericsMultipleValuesVsStoredFields()
throws Exception
Exceptionpublic void testSortedNumericsFewUniqueSetsVsStoredFields()
throws Exception
Exceptionpublic void testSortedSetVariableLengthVsStoredFields()
throws Exception
Exceptionpublic void testSortedSetFixedLengthSingleValuedVsStoredFields()
throws Exception
Exceptionpublic void testSortedSetVariableLengthSingleValuedVsStoredFields()
throws Exception
Exceptionpublic void testSortedSetFixedLengthFewUniqueSetsVsStoredFields()
throws Exception
Exceptionpublic void testSortedSetVariableLengthFewUniqueSetsVsStoredFields()
throws Exception
Exceptionpublic void testSortedSetVariableLengthManyValuesPerDocVsStoredFields()
throws Exception
Exceptionpublic void testSortedSetFixedLengthManyValuesPerDocVsStoredFields()
throws Exception
Exceptionpublic void testTwoNumbersOneMissing()
throws IOException
IOExceptionpublic void testTwoNumbersOneMissingWithMerging()
throws IOException
IOExceptionpublic void testThreeNumbersOneMissingWithMerging()
throws IOException
IOExceptionpublic void testTwoBytesOneMissing()
throws IOException
IOExceptionpublic void testTwoBytesOneMissingWithMerging()
throws IOException
IOExceptionpublic void testThreeBytesOneMissingWithMerging()
throws IOException
IOExceptionpublic void testThreads()
throws Exception
Exception@LuceneTestCase.Slow public void testThreads2() throws Exception
Exception@LuceneTestCase.Slow public void testThreads3() throws Exception
Exceptionpublic void testEmptyBinaryValueOnPageSizes()
throws Exception
Exceptionpublic void testOneSortedNumber()
throws IOException
IOExceptionpublic void testOneSortedNumberOneMissing()
throws IOException
IOExceptionpublic void testNumberMergeAwayAllValues()
throws IOException
IOExceptionpublic void testTwoSortedNumber()
throws IOException
IOExceptionpublic void testTwoSortedNumberSameValue()
throws IOException
IOExceptionpublic void testTwoSortedNumberOneMissing()
throws IOException
IOExceptionpublic void testSortedNumberMerge()
throws IOException
IOExceptionpublic void testSortedNumberMergeAwayAllValues()
throws IOException
IOExceptionpublic void testSortedEnumAdvanceIndependently()
throws IOException
IOExceptionpublic void testSortedSetEnumAdvanceIndependently()
throws IOException
IOExceptionprotected void doTestSortedSetEnumAdvanceIndependently(SortedSetDocValues dv) throws IOException
IOExceptionpublic void testSortedMergeAwayAllValuesLargeSegment()
throws IOException
IOExceptionpublic void testSortedSetMergeAwayAllValuesLargeSegment()
throws IOException
IOExceptionpublic void testNumericMergeAwayAllValuesLargeSegment()
throws IOException
IOExceptionpublic void testSortedNumericMergeAwayAllValuesLargeSegment()
throws IOException
IOExceptionpublic void testBinaryMergeAwayAllValuesLargeSegment()
throws IOException
IOExceptionprotected boolean codecAcceptsHugeBinaryValues(String field)
protected boolean codecSupportsDocsWithField()
protected boolean codecSupportsSortedSet()
protected boolean codecSupportsSortedNumeric()
protected abstract Codec getCodec()
public void setUp()
throws Exception
LuceneTestCasesuper.setUp().setUp in class LuceneTestCaseExceptionpublic void tearDown()
throws Exception
LuceneTestCasesuper.tearDown().tearDown in class LuceneTestCaseExceptionprotected Collection<String> excludedExtensionsFromByteCounts()
public void testMergeStability()
throws Exception
Exceptionprotected boolean mergeIsStable()
@LuceneTestCase.Slow public void testRamBytesUsed() throws IOException
IOExceptionpublic void testMultiClose()
throws IOException
IOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.