Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

add changes entry for the scary Similarity setter bug in IndexSearcher

Uwe Schindler3117c87d1273
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 28193eac6c7..e3605378746 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -516,6 +516,12 @@ Bug fixes
ArrayIndexOutOfBoundsException (selckin, Robert Muir, Mike
McCandless)
+* LUCENE-3208: IndexSearcher had its own private similarity field
+ and corresponding get/setter overriding Searcher's implementation. If you
+ setted a different Similarity instance on IndexSearcher, methods implemented
+ in the superclass Searcher were not using it, leading to strange bugs.
+ (Uwe Schindler, Robert Muir)
+
API Changes
* LUCENE-3208: Renamed protected IndexSearcher.createWeight() to expert