Skip to content

Commit ca1938c

Browse files
committed
Fix compilation issue
1 parent f5602af commit ca1938c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/index/codec/Elasticsearch900Codec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public Elasticsearch900Codec() {
6565
*/
6666
public Elasticsearch900Codec(Zstd814StoredFieldsFormat.Mode mode) {
6767
super("Elasticsearch900", new Lucene100Codec());
68-
this.storedFieldsFormat = new Zstd814StoredFieldsFormat(mode);
68+
this.storedFieldsFormat = mode.getFormat();
6969
this.defaultPostingsFormat = new Lucene912PostingsFormat();
7070
this.defaultDVFormat = new Lucene90DocValuesFormat();
7171
this.defaultKnnVectorsFormat = new Lucene99HnswVectorsFormat();

0 commit comments

Comments
 (0)