mirror of https://github.com/apache/lucene.git
LUCENE-8917: Fix test failure.
This commit is contained in:
parent
ec0acf9984
commit
78b6530fb2
|
@ -89,7 +89,7 @@ public class TestPerFieldDocValuesFormat extends BaseDocValuesFormatTestCase {
|
||||||
// we don't use RandomIndexWriter because it might add more docvalues than we expect !!!!1
|
// we don't use RandomIndexWriter because it might add more docvalues than we expect !!!!1
|
||||||
IndexWriterConfig iwc = newIndexWriterConfig(analyzer);
|
IndexWriterConfig iwc = newIndexWriterConfig(analyzer);
|
||||||
final DocValuesFormat fast = TestUtil.getDefaultDocValuesFormat();
|
final DocValuesFormat fast = TestUtil.getDefaultDocValuesFormat();
|
||||||
final DocValuesFormat slow = DocValuesFormat.forName("Direct");
|
final DocValuesFormat slow = DocValuesFormat.forName("Asserting");
|
||||||
iwc.setCodec(new AssertingCodec() {
|
iwc.setCodec(new AssertingCodec() {
|
||||||
@Override
|
@Override
|
||||||
public DocValuesFormat getDocValuesFormatForField(String field) {
|
public DocValuesFormat getDocValuesFormatForField(String field) {
|
||||||
|
|
Loading…
Reference in New Issue