public abstract class BaseDocValuesFormatTestCase extends BaseIndexFileFormatTestCase
BaseIndexFileFormatTestCase.FileTrackingDirectoryWrapper, BaseIndexFileFormatTestCase.ReadBytesDirectoryWrapper
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.Weekly
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_BADAPPLES, TEST_CODEC, TEST_DIRECTORY, TEST_DOCVALUESFORMAT, TEST_LINE_DOCS_FILE, TEST_MONSTER, TEST_NIGHTLY, TEST_POSTINGSFORMAT, TEST_SLOW, TEST_THROTTLING, TEST_WEEKLY, VERBOSE
Constructor and Description |
---|
BaseDocValuesFormatTestCase() |
applyCreatedVersionMajor, excludedExtensionsFromByteCounts, getCodec, getCreatedVersionMajor, maybeWrapWithMergingReader, mergeIsStable, setUp, shouldTestMergeInstance, tearDown, testCheckIntegrityReadsAllBytes, testMergeStability, testMultiClose, testRamBytesUsed, testRandomExceptions
addVirusChecker, assertDeletedDocsEquals, assertDocsAndPositionsEnumEquals, assertDocsEnumEquals, assertDocsSkippingEquals, assertDocValuesEquals, assertDocValuesEquals, assertFieldInfosEquals, assertNormsEquals, assertPointsEquals, assertPositionsSkippingEquals, assertReaderEquals, assertReaderStatisticsEquals, assertStoredFieldEquals, assertStoredFieldsEquals, assertTermsEnumEquals, assertTermsEquals, assertTermsEquals, assertTermsStatisticsEquals, assertTermStatsEquals, assertTermVectorsEquals, asSet, assumeFalse, assumeNoException, assumeTrue, assumeWorkingMMapOnWindows, atLeast, atLeast, callStackContains, callStackContains, callStackContainsAnyOf, closeAfterSuite, closeAfterTest, collate, createTempDir, createTempDir, createTempFile, createTempFile, dumpArray, dumpIterator, ensureSaneIWCOnNightly, expectThrows, expectThrows, expectThrows, expectThrowsAnyOf, expectThrowsAnyOf, getBaseTempDirForTestClass, getDataInputStream, getDataPath, getOnlyLeafReader, 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, newMaybeVirusCheckingDirectory, newMaybeVirusCheckingFSDirectory, newMergePolicy, 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
assertArrayEquals, assertArrayEquals, 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, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertThrows, assertThrows, assertTrue, assertTrue, fail, fail
protected void addRandomFields(Document doc)
BaseIndexFileFormatTestCase
addRandomFields
in class BaseIndexFileFormatTestCase
public void testOneNumber() throws IOException
IOException
public void testOneFloat() throws IOException
IOException
public void testTwoNumbers() throws IOException
IOException
public void testTwoBinaryValues() throws IOException
IOException
public void testVariouslyCompressibleBinaryValues() throws IOException
IOException
public void testTwoFieldsMixed() throws IOException
IOException
public void testThreeFieldsMixed() throws IOException
IOException
public void testThreeFieldsMixed2() throws IOException
IOException
public void testTwoDocumentsNumeric() throws IOException
IOException
public void testTwoDocumentsMerged() throws IOException
IOException
public void testBigNumericRange() throws IOException
IOException
public void testBigNumericRange2() throws IOException
IOException
public void testBytes() throws IOException
IOException
public void testBytesTwoDocumentsMerged() throws IOException
IOException
public void testBytesMergeAwayAllValues() throws IOException
IOException
public void testSortedBytes() throws IOException
IOException
public void testSortedBytesTwoDocuments() throws IOException
IOException
public void testSortedBytesThreeDocuments() throws IOException
IOException
public void testSortedBytesTwoDocumentsMerged() throws IOException
IOException
public void testSortedMergeAwayAllValues() throws IOException
IOException
public void testBytesWithNewline() throws IOException
IOException
public void testMissingSortedBytes() throws IOException
IOException
public void testSortedTermsEnum() throws IOException
IOException
public void testEmptySortedBytes() throws IOException
IOException
public void testEmptyBytes() throws IOException
IOException
public void testVeryLargeButLegalBytes() throws IOException
IOException
public void testVeryLargeButLegalSortedBytes() throws IOException
IOException
public void testCodecUsesOwnBytes() throws IOException
IOException
public void testCodecUsesOwnSortedBytes() throws IOException
IOException
public void testDocValuesSimple() throws IOException
IOException
public void testRandomSortedBytes() throws IOException
IOException
protected void assertDVIterate(Directory dir) throws IOException
IOException
public void testBooleanNumericsVsStoredFields() throws Exception
Exception
public void testSparseBooleanNumericsVsStoredFields() throws Exception
Exception
public void testByteNumericsVsStoredFields() throws Exception
Exception
public void testSparseByteNumericsVsStoredFields() throws Exception
Exception
public void testShortNumericsVsStoredFields() throws Exception
Exception
public void testSparseShortNumericsVsStoredFields() throws Exception
Exception
public void testIntNumericsVsStoredFields() throws Exception
Exception
public void testSparseIntNumericsVsStoredFields() throws Exception
Exception
public void testLongNumericsVsStoredFields() throws Exception
Exception
public void testSparseLongNumericsVsStoredFields() throws Exception
Exception
public void testBinaryFixedLengthVsStoredFields() throws Exception
Exception
public void testSparseBinaryFixedLengthVsStoredFields() throws Exception
Exception
public void testBinaryVariableLengthVsStoredFields() throws Exception
Exception
public void testSparseBinaryVariableLengthVsStoredFields() throws Exception
Exception
public void doTestBinaryVariableLengthVsStoredFields(double density) throws Exception
Exception
protected void doTestSortedVsStoredFields(int numDocs, double density, Supplier<byte[]> bytes) throws Exception
Exception
public void testSortedFixedLengthVsStoredFields() throws Exception
Exception
public void testSparseSortedFixedLengthVsStoredFields() throws Exception
Exception
public void testSortedVariableLengthVsStoredFields() throws Exception
Exception
public void testSparseSortedVariableLengthVsStoredFields() throws Exception
Exception
protected void doTestSortedVsStoredFields(int numDocs, double density, int minLength, int maxLength) throws Exception
Exception
public void testSortedSetOneValue() throws IOException
IOException
public void testSortedSetTwoFields() throws IOException
IOException
public void testSortedSetTwoDocumentsMerged() throws IOException
IOException
public void testSortedSetTwoValues() throws IOException
IOException
public void testSortedSetTwoValuesUnordered() throws IOException
IOException
public void testSortedSetThreeValuesTwoDocs() throws IOException
IOException
public void testSortedSetTwoDocumentsLastMissing() throws IOException
IOException
public void testSortedSetTwoDocumentsLastMissingMerge() throws IOException
IOException
public void testSortedSetTwoDocumentsFirstMissing() throws IOException
IOException
public void testSortedSetTwoDocumentsFirstMissingMerge() throws IOException
IOException
public void testSortedSetMergeAwayAllValues() throws IOException
IOException
public void testSortedSetTermsEnum() throws IOException
IOException
protected void doTestSortedSetVsStoredFields(int numDocs, int minLength, int maxLength, int maxValuesPerDoc, int maxUniqueValues) throws Exception
Exception
public void testSortedSetFixedLengthVsStoredFields() throws Exception
Exception
public void testSortedNumericsSingleValuedVsStoredFields() throws Exception
Exception
public void testSortedNumericsSingleValuedMissingVsStoredFields() throws Exception
Exception
public void testSortedNumericsMultipleValuesVsStoredFields() throws Exception
Exception
public void testSortedNumericsFewUniqueSetsVsStoredFields() throws Exception
Exception
public void testSortedSetVariableLengthVsStoredFields() throws Exception
Exception
public void testSortedSetFixedLengthSingleValuedVsStoredFields() throws Exception
Exception
public void testSortedSetVariableLengthSingleValuedVsStoredFields() throws Exception
Exception
public void testSortedSetFixedLengthFewUniqueSetsVsStoredFields() throws Exception
Exception
public void testSortedSetVariableLengthFewUniqueSetsVsStoredFields() throws Exception
Exception
public void testSortedSetVariableLengthManyValuesPerDocVsStoredFields() throws Exception
Exception
public void testSortedSetFixedLengthManyValuesPerDocVsStoredFields() throws Exception
Exception
public void testTwoNumbersOneMissing() throws IOException
IOException
public void testTwoNumbersOneMissingWithMerging() throws IOException
IOException
public void testThreeNumbersOneMissingWithMerging() throws IOException
IOException
public void testTwoBytesOneMissing() throws IOException
IOException
public void testTwoBytesOneMissingWithMerging() throws IOException
IOException
public void testThreeBytesOneMissingWithMerging() throws IOException
IOException
public void testThreads() throws Exception
Exception
@LuceneTestCase.Nightly public void testThreads2() throws Exception
Exception
@LuceneTestCase.Nightly public void testThreads3() throws Exception
Exception
public void testEmptyBinaryValueOnPageSizes() throws Exception
Exception
public void testOneSortedNumber() throws IOException
IOException
public void testOneSortedNumberOneMissing() throws IOException
IOException
public void testNumberMergeAwayAllValues() throws IOException
IOException
public void testTwoSortedNumber() throws IOException
IOException
public void testTwoSortedNumberSameValue() throws IOException
IOException
public void testTwoSortedNumberOneMissing() throws IOException
IOException
public void testSortedNumberMerge() throws IOException
IOException
public void testSortedNumberMergeAwayAllValues() throws IOException
IOException
public void testSortedEnumAdvanceIndependently() throws IOException
IOException
public void testSortedSetEnumAdvanceIndependently() throws IOException
IOException
protected void doTestSortedSetEnumAdvanceIndependently(SortedSetDocValues dv) throws IOException
IOException
public void testSortedMergeAwayAllValuesLargeSegment() throws IOException
IOException
public void testSortedSetMergeAwayAllValuesLargeSegment() throws IOException
IOException
public void testNumericMergeAwayAllValuesLargeSegment() throws IOException
IOException
public void testSortedNumericMergeAwayAllValuesLargeSegment() throws IOException
IOException
public void testBinaryMergeAwayAllValuesLargeSegment() throws IOException
IOException
public void testRandomAdvanceNumeric() throws IOException
IOException
public void testRandomAdvanceBinary() throws IOException
IOException
protected boolean codecAcceptsHugeBinaryValues(String field)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.