You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by iv...@apache.org on 2021/04/04 09:30:58 UTC

[lucene] branch main updated: LUCENE-9705: Final clean-up and entry in CHANGES.txt (#59)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 67a0bd4  LUCENE-9705: Final clean-up and entry in CHANGES.txt (#59)
67a0bd4 is described below

commit 67a0bd4b6df53b81d1108b8349854d400ff27f22
Author: Ignacio Vera <iv...@apache.org>
AuthorDate: Sun Apr 4 11:30:47 2021 +0200

    LUCENE-9705: Final clean-up and entry in CHANGES.txt (#59)
---
 lucene/CHANGES.txt                                 |  3 +++
 .../lucene/codecs/lucene80/package-info.java       | 22 ----------------------
 .../TestLucene90LiveDocsFormat.java                |  2 +-
 .../TestLucene90NormsFormat.java                   |  2 +-
 .../TestLucene90NormsFormatMergeInstance.java      |  2 +-
 5 files changed, 6 insertions(+), 25 deletions(-)

diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 2571a2d..1ab5283 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -282,6 +282,9 @@ Other
 * LUCENE-9822: Add assertion to PFOR exception encoding, documenting the BLOCK_SIZE assumption. (Greg Miller)
 
 * LUCENE-9883: Turn on ecj missingEnumCaseDespiteDefault setting. (Zach Chen)
+ 
+* LUCENE-9705: Make new versions of all index formats for the Lucene90 codec and move 
+  the existing ones to the backwards codecs. (Julie Tibshirani, Ignacio Vera)  
 
 ======================= Lucene 8.9.0 =======================
 
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene80/package-info.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene80/package-info.java
deleted file mode 100644
index 97728bc..0000000
--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene80/package-info.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Components from the Lucene 8.0 index format See {@link org.apache.lucene.codecs.lucene90} for an
- * overview of the index format.
- */
-package org.apache.lucene.codecs.lucene80;
diff --git a/lucene/core/src/test/org/apache/lucene/codecs/lucene50/TestLucene90LiveDocsFormat.java b/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90LiveDocsFormat.java
similarity index 96%
rename from lucene/core/src/test/org/apache/lucene/codecs/lucene50/TestLucene90LiveDocsFormat.java
rename to lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90LiveDocsFormat.java
index b4c734b..9575def 100644
--- a/lucene/core/src/test/org/apache/lucene/codecs/lucene50/TestLucene90LiveDocsFormat.java
+++ b/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90LiveDocsFormat.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.lucene.codecs.lucene50;
+package org.apache.lucene.codecs.lucene90;
 
 import org.apache.lucene.codecs.Codec;
 import org.apache.lucene.index.BaseLiveDocsFormatTestCase;
diff --git a/lucene/core/src/test/org/apache/lucene/codecs/lucene80/TestLucene90NormsFormat.java b/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90NormsFormat.java
similarity index 96%
rename from lucene/core/src/test/org/apache/lucene/codecs/lucene80/TestLucene90NormsFormat.java
rename to lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90NormsFormat.java
index 0b152d6..d7023ba 100644
--- a/lucene/core/src/test/org/apache/lucene/codecs/lucene80/TestLucene90NormsFormat.java
+++ b/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90NormsFormat.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.lucene.codecs.lucene80;
+package org.apache.lucene.codecs.lucene90;
 
 import org.apache.lucene.codecs.Codec;
 import org.apache.lucene.index.BaseNormsFormatTestCase;
diff --git a/lucene/core/src/test/org/apache/lucene/codecs/lucene80/TestLucene90NormsFormatMergeInstance.java b/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90NormsFormatMergeInstance.java
similarity index 96%
rename from lucene/core/src/test/org/apache/lucene/codecs/lucene80/TestLucene90NormsFormatMergeInstance.java
rename to lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90NormsFormatMergeInstance.java
index c9ba03f..85ed5c8 100644
--- a/lucene/core/src/test/org/apache/lucene/codecs/lucene80/TestLucene90NormsFormatMergeInstance.java
+++ b/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90NormsFormatMergeInstance.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.lucene.codecs.lucene80;
+package org.apache.lucene.codecs.lucene90;
 
 /** Test the merge instance of the Lucene90 norms format. */
 public class TestLucene90NormsFormatMergeInstance extends TestLucene90NormsFormat {