From 7abaef7a7ce99b8fb4977c09bc63122427baeaee Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Wed, 21 Sep 2011 15:10:55 +0000 Subject: [PATCH] LUCENE-3390: Merge changes entry git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173704 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/CHANGES.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index f270e13ddc5..cd1cb4794eb 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -581,6 +581,19 @@ Bug fixes ======================= Lucene 3.5.0 ======================= +Changes in backwards compatibility policy + +* LUCENE-3390: The first approach in Lucene 3.4.0 for missing values + support for sorting had a design problem that made the missing value + be populated directly into the FieldCache arrays during sorting, + leading to concurrency issues. To fix this behaviour, the method + signatures had to be changed: + - FieldCache.getUnValuedDocs() returns the interface Bits instead DocIdSet + - FieldComparator.setMissingValue() was removed and added to + constructor + As this is expert API, most code will not be affected. + (Uwe Schindler, Doron Cohen, Mike McCandless) + Bug fixes * LUCENE-3412: SloppyPhraseScorer was returning non-deterministic results @@ -598,6 +611,11 @@ Bug fixes QueryWrapperFilter and similar classes to get a top-level DocIdSet. (Dan C., Uwe Schindler) +* LUCENE-3390: Corrected handling of missing values when two parallel searches + using different missing values for sorting: the missing value was populated + directly into the FieldCache arrays during sorting, leading to concurrency + issues. (Uwe Schindler, Doron Cohen, Mike McCandless) + New Features Optimizations