From c5876771503e22968d7cf9be37a56eca68e5e4a5 Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Fri, 9 Apr 2021 16:19:43 -0700 Subject: [PATCH] LUCENE-9705: Correct the format names in Lucene90StoredFieldsFormat (#74) We accidentally kept the old names when creating the new format. --- .../lucene/codecs/lucene90/Lucene90StoredFieldsFormat.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90StoredFieldsFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90StoredFieldsFormat.java index 77e24c6a2b7..20a72c97383 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90StoredFieldsFormat.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90StoredFieldsFormat.java @@ -31,7 +31,7 @@ import org.apache.lucene.store.IOContext; import org.apache.lucene.util.packed.DirectMonotonicWriter; /** - * Lucene 8.7 stored fields format. + * Lucene 9.0 stored fields format. * *

Principle * @@ -158,10 +158,10 @@ public class Lucene90StoredFieldsFormat extends StoredFieldsFormat { switch (mode) { case BEST_SPEED: return new Lucene90CompressingStoredFieldsFormat( - "Lucene87StoredFieldsFastData", BEST_SPEED_MODE, BEST_SPEED_BLOCK_LENGTH, 1024, 10); + "Lucene90StoredFieldsFastData", BEST_SPEED_MODE, BEST_SPEED_BLOCK_LENGTH, 1024, 10); case BEST_COMPRESSION: return new Lucene90CompressingStoredFieldsFormat( - "Lucene87StoredFieldsHighData", + "Lucene90StoredFieldsHighData", BEST_COMPRESSION_MODE, BEST_COMPRESSION_BLOCK_LENGTH, 4096,