From 3117c87d1273b0fd276ec4c110e218ad3269b774 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Thu, 16 Jun 2011 22:33:39 +0000 Subject: [PATCH] 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 --- lucene/CHANGES.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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