Skip to content

Commit

Permalink
Switch default to new
Browse files Browse the repository at this point in the history
Signed-off-by: John Mazanec <[email protected]>
  • Loading branch information
jmazanec15 committed Mar 17, 2022
1 parent 31f5be9 commit e03b574
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.apache.lucene.codecs.DocValuesConsumer;
import org.apache.lucene.codecs.DocValuesFormat;
import org.apache.lucene.codecs.DocValuesProducer;
import org.apache.lucene.codecs.lucene80.Lucene80DocValuesFormat;
import org.apache.lucene.index.SegmentReadState;
import org.apache.lucene.index.SegmentWriteState;

Expand All @@ -20,8 +21,7 @@ public class KNN80DocValuesFormat extends DocValuesFormat {
private final DocValuesFormat delegate;

public KNN80DocValuesFormat() {
super(KNN80Codec.LUCENE_80);
this.delegate = DocValuesFormat.forName(KNN80Codec.LUCENE_80);
this(new Lucene80DocValuesFormat());
}

/**
Expand Down

0 comments on commit e03b574

Please sign in to comment.