Apache Lucene open-source search software
couple minor tweaks to backward compat section entry 1. LUCENE-1575
Mark Robert Miller6c4a1cecf4f2
diff --git a/CHANGES.txt b/CHANGES.txtindex 355060b1a56..abf7fb19784 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -6,8 +6,8 @@ $Id$Changes in backwards compatibility policy1. LUCENE-1575: Searchable.search(Weight, Filter, int, Sort) no- longer computes document scores of each hit, by default. If- document scores tracking is still needed, you can call+ longer computes a document score for each hit by default. If+ document score tracking is still needed, you can callIndexSearcher.setDefaultFieldSortScoring(true, true) to enableboth per-hit and maxScore tracking; however, this is deprecatedand will be removed in 3.0.@@ -29,16 +29,16 @@ Changes in backwards compatibility policydirectly instantiate TopFieldCollector.Also, the method search(Weight, Filter, Collector) was added to- the Searchable interface and the Searcher abstract class, to+ the Searchable interface and the Searcher abstract class toreplace the deprecated HitCollector versions. If you either- implement Searchable or extend Searcher, you should change you+ implement Searchable or extend Searcher, you should change yourcode to implement this method. If you already extendIndexSearcher, no further changes are needed to use Collector.Finally, the values Float.NaN, Float.NEGATIVE_INFINITY andFloat.POSITIVE_INFINITY are not valid scores. Lucene uses thesevalues internally in certain places, so if you have hits with such- scores it will cause problems. (Shai Erera via Mike McCandless)+ scores, it will cause problems. (Shai Erera via Mike McCandless)2. LUCENE-1687: All methods and parsers from interface ExtendedFieldCachewere moved into FieldCache. ExtendedFieldCache was deprecated and now