add changes entry for the scary Similarity setter bug in IndexSearcher

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136715 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2011-06-16 22:33:39 +00:00
parent d335698e89
commit 3117c87d12
1 changed files with 6 additions and 0 deletions

View File

@ -516,6 +516,12 @@ Bug fixes
ArrayIndexOutOfBoundsException (selckin, Robert Muir, Mike ArrayIndexOutOfBoundsException (selckin, Robert Muir, Mike
McCandless) 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 API Changes
* LUCENE-3208: Renamed protected IndexSearcher.createWeight() to expert * LUCENE-3208: Renamed protected IndexSearcher.createWeight() to expert