You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by co...@apache.org on 2023/09/01 08:46:28 UTC

[solr] branch main updated (3cbb97549ce -> f947b765954)

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

colvinco pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


    from 3cbb97549ce tidy
     add 01831cca97a SOLR-16958: Fix spurious warning about LATEST luceneMatchVersion
     new 7bdce4cb704 SOLR-16958: Fix spurious warning about LATEST luceneMatchVersion
     new f947b765954 Reword comment

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 solr/CHANGES.txt                                        | 2 ++
 solr/core/src/java/org/apache/solr/core/SolrConfig.java | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)


[solr] 01/02: SOLR-16958: Fix spurious warning about LATEST luceneMatchVersion

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 7bdce4cb704ec511a31db18185b2789c357ee1e9
Author: Colvin Cowie <co...@gmail.com>
AuthorDate: Fri Sep 1 09:44:41 2023 +0100

    SOLR-16958: Fix spurious warning about LATEST luceneMatchVersion
---
 solr/core/src/java/org/apache/solr/core/SolrConfig.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/core/SolrConfig.java b/solr/core/src/java/org/apache/solr/core/SolrConfig.java
index 89bcf88b9cb..d425235f201 100644
--- a/solr/core/src/java/org/apache/solr/core/SolrConfig.java
+++ b/solr/core/src/java/org/apache/solr/core/SolrConfig.java
@@ -420,8 +420,7 @@ public class SolrConfig implements MapSerializable {
           pe);
     }
 
-    // The use of == is intentional here because the latest matchVersion will be equal() to
-    // Version.LATEST, but will not be == to Version.LATEST
+    // The use of == is intentional here because the latest 'V.V.V' version will be equal() to Version.LATEST, but will not be == to Version.LATEST unless 'LATEST' was supplied.
     if (version == Version.LATEST && !versionWarningAlreadyLogged.getAndSet(true)) {
       log.warn(
           "You should not use LATEST as luceneMatchVersion property: "


[solr] 02/02: Reword comment

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f947b76595403e853a8710fa06804f0551602919
Author: Colvin Cowie <co...@gmail.com>
AuthorDate: Fri Sep 1 09:46:19 2023 +0100

    Reword comment
---
 solr/core/src/java/org/apache/solr/core/SolrConfig.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/core/SolrConfig.java b/solr/core/src/java/org/apache/solr/core/SolrConfig.java
index d425235f201..cb750ebe132 100644
--- a/solr/core/src/java/org/apache/solr/core/SolrConfig.java
+++ b/solr/core/src/java/org/apache/solr/core/SolrConfig.java
@@ -420,7 +420,8 @@ public class SolrConfig implements MapSerializable {
           pe);
     }
 
-    // The use of == is intentional here because the latest 'V.V.V' version will be equal() to Version.LATEST, but will not be == to Version.LATEST unless 'LATEST' was supplied.
+    // The use of == is intentional here because the latest 'V.V.V' version will be equal() to
+    // Version.LATEST, but will not be == to Version.LATEST unless 'LATEST' was supplied.
     if (version == Version.LATEST && !versionWarningAlreadyLogged.getAndSet(true)) {
       log.warn(
           "You should not use LATEST as luceneMatchVersion property: "