Class BaseDocValuesFormatTestCase
Abstract class to do basic tests for a DocValuesFormat. 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!
Inheritance
System.Object
BaseDocValuesFormatTestCase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
public abstract class BaseDocValuesFormatTestCase : BaseIndexFileFormatTestCase
Methods
| Improve this Doc View SourceAddRandomFields(Document)
Declaration
protected override void AddRandomFields(Document doc)
Parameters
Type | Name | Description |
---|---|---|
Document | doc |
Overrides
| Improve this Doc View SourceCodecAcceptsHugeBinaryValues(String)
Declaration
protected virtual bool CodecAcceptsHugeBinaryValues(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field |
Returns
Type | Description |
---|---|
System.Boolean |
TestBigNumericRange()
Declaration
[Test]
public virtual void TestBigNumericRange()
TestBigNumericRange2()
Declaration
[Test]
public virtual void TestBigNumericRange2()
TestBinaryFixedLengthVsStoredFields()
Declaration
[Test]
public virtual void TestBinaryFixedLengthVsStoredFields()
TestBinaryVariableLengthVsStoredFields()
Declaration
[Test]
public virtual void TestBinaryVariableLengthVsStoredFields()
TestBooleanNumericsVsStoredFields()
Declaration
[Test]
public virtual void TestBooleanNumericsVsStoredFields()
TestByteMissingVsFieldCache()
Declaration
[Test]
public virtual void TestByteMissingVsFieldCache()
TestByteNumericsVsStoredFields()
Declaration
[Test]
public virtual void TestByteNumericsVsStoredFields()
TestBytes()
Declaration
[Test]
public virtual void TestBytes()
TestBytesTwoDocumentsMerged()
Declaration
[Test]
public virtual void TestBytesTwoDocumentsMerged()
TestBytesWithNewline()
Declaration
[Test]
public virtual void TestBytesWithNewline()
TestCodecUsesOwnBytes()
Declaration
[Test]
public virtual void TestCodecUsesOwnBytes()
TestCodecUsesOwnBytesEachTime()
Declaration
[Test]
public virtual void TestCodecUsesOwnBytesEachTime()
TestCodecUsesOwnSortedBytes()
Declaration
[Test]
public virtual void TestCodecUsesOwnSortedBytes()
TestCodecUsesOwnSortedBytesEachTime()
Declaration
[Test]
public virtual void TestCodecUsesOwnSortedBytesEachTime()
TestDocValuesSimple()
Simple test case to show how to use the API
Declaration
[Test]
public virtual void TestDocValuesSimple()
TestEmptyBinaryValueOnPageSizes()
Declaration
[Test]
public virtual void TestEmptyBinaryValueOnPageSizes()
TestEmptyBytes()
Declaration
[Test]
public virtual void TestEmptyBytes()
TestEmptySortedBytes()
Declaration
[Test]
public virtual void TestEmptySortedBytes()
TestGCDCompression()
Declaration
[Test]
public virtual void TestGCDCompression()
TestHugeBinaryValueLimit()
Declaration
[Test]
public virtual void TestHugeBinaryValueLimit()
TestHugeBinaryValues()
Declaration
[Test]
public virtual void TestHugeBinaryValues()
TestInt16MissingVsFieldCache()
Declaration
[Test]
public virtual void TestInt16MissingVsFieldCache()
TestInt16NumericsVsStoredFields()
Declaration
[Test]
public virtual void TestInt16NumericsVsStoredFields()
TestInt32MissingVsFieldCache()
Declaration
[Test]
public virtual void TestInt32MissingVsFieldCache()
TestInt32NumericsVsStoredFields()
Declaration
[Test]
public virtual void TestInt32NumericsVsStoredFields()
TestInt64MissingVsFieldCache()
Declaration
[Test]
public virtual void TestInt64MissingVsFieldCache()
TestInt64NumericsVsStoredFields()
Declaration
[Test]
public virtual void TestInt64NumericsVsStoredFields()
TestMissingSortedBytes()
Declaration
[Test]
public virtual void TestMissingSortedBytes()
TestOneNumber()
Declaration
[Test]
public virtual void TestOneNumber()
TestOneSingle()
Declaration
[Test]
public virtual void TestOneSingle()
TestRandomSortedBytes()
Declaration
[Test]
public virtual void TestRandomSortedBytes()
TestSortedBytes()
Declaration
[Test]
public virtual void TestSortedBytes()
TestSortedBytesThreeDocuments()
Declaration
[Test]
public virtual void TestSortedBytesThreeDocuments()
TestSortedBytesTwoDocuments()
Declaration
[Test]
public virtual void TestSortedBytesTwoDocuments()
TestSortedBytesTwoDocumentsMerged()
Declaration
[Test]
public virtual void TestSortedBytesTwoDocumentsMerged()
TestSortedFixedLengthVsFieldCache()
Declaration
[Test]
public virtual void TestSortedFixedLengthVsFieldCache()
TestSortedFixedLengthVsStoredFields()
Declaration
[Test]
public virtual void TestSortedFixedLengthVsStoredFields()
TestSortedMergeAwayAllValues()
Declaration
[Test]
public virtual void TestSortedMergeAwayAllValues()
TestSortedSetFixedLengthSingleValuedVsStoredFields()
Declaration
[Test]
public virtual void TestSortedSetFixedLengthSingleValuedVsStoredFields()
TestSortedSetFixedLengthVsStoredFields()
Declaration
[Test]
public virtual void TestSortedSetFixedLengthVsStoredFields()
TestSortedSetFixedLengthVsUninvertedField()
Declaration
[Test]
public virtual void TestSortedSetFixedLengthVsUninvertedField()
TestSortedSetMergeAwayAllValues()
Declaration
[Test]
public virtual void TestSortedSetMergeAwayAllValues()
TestSortedSetOneValue()
Declaration
[Test]
public virtual void TestSortedSetOneValue()
TestSortedSetTermsEnum()
Declaration
[Test]
public virtual void TestSortedSetTermsEnum()
TestSortedSetThreeValuesTwoDocs()
Declaration
[Test]
public virtual void TestSortedSetThreeValuesTwoDocs()
TestSortedSetTwoDocumentsFirstMissing()
Declaration
[Test]
public virtual void TestSortedSetTwoDocumentsFirstMissing()
TestSortedSetTwoDocumentsFirstMissingMerge()
Declaration
[Test]
public virtual void TestSortedSetTwoDocumentsFirstMissingMerge()
TestSortedSetTwoDocumentsLastMissing()
Declaration
[Test]
public virtual void TestSortedSetTwoDocumentsLastMissing()
TestSortedSetTwoDocumentsLastMissingMerge()
Declaration
[Test]
public virtual void TestSortedSetTwoDocumentsLastMissingMerge()
TestSortedSetTwoDocumentsMerged()
Declaration
[Test]
public virtual void TestSortedSetTwoDocumentsMerged()
TestSortedSetTwoFields()
Declaration
[Test]
public virtual void TestSortedSetTwoFields()
TestSortedSetTwoValues()
Declaration
[Test]
public virtual void TestSortedSetTwoValues()
TestSortedSetTwoValuesUnordered()
Declaration
[Test]
public virtual void TestSortedSetTwoValuesUnordered()
TestSortedSetVariableLengthSingleValuedVsStoredFields()
Declaration
[Test]
public virtual void TestSortedSetVariableLengthSingleValuedVsStoredFields()
TestSortedSetVariableLengthVsStoredFields()
Declaration
[Test]
public virtual void TestSortedSetVariableLengthVsStoredFields()
TestSortedSetVariableLengthVsUninvertedField()
Declaration
[Test]
public virtual void TestSortedSetVariableLengthVsUninvertedField()
TestSortedTermsEnum()
Declaration
[Test]
public virtual void TestSortedTermsEnum()
TestSortedVariableLengthVsFieldCache()
Declaration
[Test]
public virtual void TestSortedVariableLengthVsFieldCache()
TestSortedVariableLengthVsStoredFields()
Declaration
[Test]
public virtual void TestSortedVariableLengthVsStoredFields()
TestThreads()
Tests dv against stored fields with threads (binary/numeric/sorted, no missing)
Declaration
[Test]
public virtual void TestThreads()
TestThreads2()
Tests dv against stored fields with threads (all types + missing)
Declaration
[Test]
public virtual void TestThreads2()
TestThreeBytesOneMissingWithMerging()
Declaration
[Test]
public virtual void TestThreeBytesOneMissingWithMerging()
TestThreeFieldsMixed()
Declaration
[Test]
public virtual void TestThreeFieldsMixed()
TestThreeFieldsMixed2()
Declaration
[Test]
public virtual void TestThreeFieldsMixed2()
TestThreeNumbersOneMissingWithMerging()
Declaration
[Test]
public virtual void TestThreeNumbersOneMissingWithMerging()
TestTwoBinaryValues()
Declaration
[Test]
public virtual void TestTwoBinaryValues()
TestTwoBytesOneMissing()
Declaration
[Test]
public virtual void TestTwoBytesOneMissing()
TestTwoBytesOneMissingWithMerging()
Declaration
[Test]
public virtual void TestTwoBytesOneMissingWithMerging()
TestTwoDocumentsMerged()
Declaration
[Test]
public virtual void TestTwoDocumentsMerged()
TestTwoDocumentsNumeric()
Declaration
[Test]
public virtual void TestTwoDocumentsNumeric()
TestTwoFieldsMixed()
Declaration
[Test]
public virtual void TestTwoFieldsMixed()
TestTwoNumbers()
Declaration
[Test]
public virtual void TestTwoNumbers()
TestTwoNumbersOneMissing()
Declaration
[Test]
public virtual void TestTwoNumbersOneMissing()
TestTwoNumbersOneMissingWithMerging()
Declaration
[Test]
public virtual void TestTwoNumbersOneMissingWithMerging()
TestVeryLargeButLegalBytes()
Declaration
[Test]
public virtual void TestVeryLargeButLegalBytes()
TestVeryLargeButLegalSortedBytes()
Declaration
[Test]
public virtual void TestVeryLargeButLegalSortedBytes()
TestZeroOrMin()
Declaration
[Test]
public virtual void TestZeroOrMin()
TestZeros()
Declaration
[Test]
public virtual void TestZeros()