Apache Lucene open-source search software
LUCENE-7996: Add a note to the changes in runtime behaviour and to the solr upgrade notes.
Adrien Grandf525ce8fbb30
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex e629be00777..c2af45c81ca 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -37,6 +37,9 @@ Changes in Runtime Behaviordivide-by-zero hacks. IndexSearcher.termStatistics/collectionStatistics return nullinstead 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.diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 88f6fca1cd1..b6e729fe602 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -29,8 +29,12 @@ Apache UIMA 2.3.1Apache ZooKeeper 3.4.10Jetty 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 ==================