From cad1b9c141727e236e41c837711ed4ab9c2d2068 Mon Sep 17 00:00:00 2001 From: Benjamin Trent Date: Mon, 5 Aug 2024 14:18:28 -0400 Subject: [PATCH] Apply suggestions from code review --- .../elasticsearch/index/codec/Elasticsearch816Codec.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/index/codec/Elasticsearch816Codec.java b/server/src/main/java/org/elasticsearch/index/codec/Elasticsearch816Codec.java index 22dee6745573a..1b08b87e46762 100644 --- a/server/src/main/java/org/elasticsearch/index/codec/Elasticsearch816Codec.java +++ b/server/src/main/java/org/elasticsearch/index/codec/Elasticsearch816Codec.java @@ -22,7 +22,7 @@ import org.elasticsearch.index.codec.zstd.Zstd814StoredFieldsFormat; /** - * Elasticsearch codec as of 8.16. This extends the Lucene 9.9 codec to compressed stored fields with ZSTD instead of LZ4/DEFLATE. See + * Elasticsearch codec as of 8.16. This extends the Lucene 9.12 codec to compressed stored fields with ZSTD instead of LZ4/DEFLATE. See * {@link Zstd814StoredFieldsFormat}. */ public class Elasticsearch816Codec extends CodecService.DeduplicateFieldInfosCodec { @@ -93,7 +93,7 @@ public final KnnVectorsFormat knnVectorsFormat() { /** * Returns the postings format that should be used for writing new segments of field. * - *

The default implementation always returns "Lucene99". + *

The default implementation always returns "Lucene912". * *

WARNING: if you subclass, you are responsible for index backwards compatibility: * future version of Lucene are only guaranteed to be able to read the default implementation, @@ -106,7 +106,7 @@ public PostingsFormat getPostingsFormatForField(String field) { * Returns the docvalues format that should be used for writing new segments of field * . * - *

The default implementation always returns "Lucene99". + *

The default implementation always returns "Lucene912". * *

WARNING: if you subclass, you are responsible for index backwards compatibility: * future version of Lucene are only guaranteed to be able to read the default implementation. @@ -118,7 +118,7 @@ public DocValuesFormat getDocValuesFormatForField(String field) { /** * Returns the vectors format that should be used for writing new segments of field * - *

The default implementation always returns "Lucene95". + *

The default implementation always returns "Lucene912". * *

WARNING: if you subclass, you are responsible for index backwards compatibility: * future version of Lucene are only guaranteed to be able to read the default implementation.