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 2017/12/12 15:49:50 UTC
lucene-solr:master: LUCENE-7996: Add a note to the changes in runtime
behaviour and to the solr upgrade notes.
Repository: lucene-solr
Updated Branches:
refs/heads/master 5b2e25f30 -> f525ce8fb
LUCENE-7996: Add a note to the changes in runtime behaviour and to the solr upgrade notes.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/f525ce8f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/f525ce8f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/f525ce8f
Branch: refs/heads/master
Commit: f525ce8fbb30367be2d816be303ee7c1b8d4d0ae
Parents: 5b2e25f
Author: Adrien Grand <jp...@gmail.com>
Authored: Tue Dec 12 16:23:57 2017 +0100
Committer: Adrien Grand <jp...@gmail.com>
Committed: Tue Dec 12 16:23:57 2017 +0100
----------------------------------------------------------------------
lucene/CHANGES.txt | 3 +++
solr/CHANGES.txt | 6 +++++-
2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f525ce8f/lucene/CHANGES.txt
----------------------------------------------------------------------
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index e629be0..c2af45c 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -37,6 +37,9 @@ Changes in Runtime Behavior
divide-by-zero hacks. IndexSearcher.termStatistics/collectionStatistics return null
instead of returning bogus values for a non-existent term or field. (Robert Muir)
+* LUCENE-7996: FunctionQuery and FunctionScoreQuery now return a score of 0
+ when the function produces a negative value. (Adrien Grand)
+
Improvements
* LUCENE-7997: Add BaseSimilarityTestCase to sanity check similarities.
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f525ce8f/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 88f6fca..b6e729f 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -29,8 +29,12 @@ Apache UIMA 2.3.1
Apache ZooKeeper 3.4.10
Jetty 9.3.20.v20170531
+Upgrade Notes
+----------------------
-(No Changes)
+* LUCENE-7996: The 'func' query parser now returns scores that are equal to 0
+ when a negative value is produced. This change is due to the fact that
+ Lucene now requires scores to be positive. (Adrien Grand)
================== 7.3.0 ==================