You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2022/09/26 12:57:30 UTC

[lucene] 02/02: Fix codec name in index header for Lucene94FieldInfosFormat. (#11818)

This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit b69ed36b6d2775e646ab14bc8c4d7405bb805c39
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Mon Sep 26 14:56:30 2022 +0200

    Fix codec name in index header for Lucene94FieldInfosFormat. (#11818)
---
 .../org/apache/lucene/codecs/lucene94/Lucene94FieldInfosFormat.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene94/Lucene94FieldInfosFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene94/Lucene94FieldInfosFormat.java
index d8b556c2720..5a3957aa3c1 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene94/Lucene94FieldInfosFormat.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene94/Lucene94FieldInfosFormat.java
@@ -373,7 +373,7 @@ public final class Lucene94FieldInfosFormat extends FieldInfosFormat {
   static final String EXTENSION = "fnm";
 
   // Codec header
-  static final String CODEC_NAME = "Lucene90FieldInfos";
+  static final String CODEC_NAME = "Lucene94FieldInfos";
   static final int FORMAT_START = 0;
   static final int FORMAT_CURRENT = FORMAT_START;