diff --git a/CHANGES.txt b/CHANGES.txt index 4d629006a02..536dd21f102 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -95,21 +95,18 @@ API Changes IndexReader. This matches IndexWriter's commit methods. (Jason Rutherglen via Mike McCandless) -9. LUCENE-1186: Add Analyzer.close() to free internal ThreadLocal - resources. (Christian Kohlschütter via Mike McCandless) +9. LUCENE-652: Added org.apache.lucene.document.CompressionTools, to + enable compressing & decompressing binary content, external to + Lucene's indexing. Deprecated Field.Store.COMPRESS. -10. LUCENE-652: Added org.apache.lucene.document.CompressionTools, to - enable compressing & decompressing binary content, external to - Lucene's indexing. Deprecated Field.Store.COMPRESS. - -11. LUCENE-1561: Renamed Field.omitTf to Field.omitTermFreqAndPositions - (Otis Gospodnetic via Mike McCandless) +10. LUCENE-1561: Renamed Field.omitTf to Field.omitTermFreqAndPositions + (Otis Gospodnetic via Mike McCandless) -12. LUCENE-1500: Added new InvalidTokenOffsetsException to Highlighter methods +11. LUCENE-1500: Added new InvalidTokenOffsetsException to Highlighter methods to denote issues when offsets in TokenStream tokens exceed the length of the provided text. (Mark Harwood) -13. LUCENE-1575: HitCollector is now deprecated in favor of a new +12. LUCENE-1575: HitCollector is now deprecated in favor of a new Collector abstract class. For easy migration, people can use HitCollectorWrapper which translates (wraps) HitCollector into Collector. Note that this class is also deprecated and will be @@ -123,50 +120,28 @@ Bug fixes implementation - Leads to Solr Cache misses. (Todd Feak, Mark Miller via yonik) -2. LUCENE-1452: Fixed silent data-loss case whereby binary fields are - truncated to 0 bytes during merging if the segments being merged - are non-congruent (same field name maps to different field - numbers). This bug was introduced with LUCENE-1219. (Andrzej - Bialecki via Mike McCandless). - -3. LUCENE-1465: NearSpansOrdered returns payloads from first possible match - rather than the correct, shortest match; Payloads could be returned even - if the max slop was exceeded; The wrong payload could be returned in - certain situations. (Jonathan Mamou, Greg Shackles, Mark Miller) - -4. LUCENE-1453: Ensure IndexReader.reopen() does not result in - incorrectly closing the shared FSDirectory. This bug would only - happen if you use IndexReader.open with a File or String argument. - (Mark Miller via Mike McCandless) - -5. LUCENE-1544: Fix deadlock in IndexWriter.addIndexes(IndexReader[]). - (Mike McCandless via Doug Sale) - -6. LUCENE-1186: Add Analyzer.close() to free internal ThreadLocal - resources. (Christian Kohlschütter via Mike McCandless) - -7. LUCENE-1327: Fix TermSpans#skipTo() to behave as specified in javadocs +2. LUCENE-1327: Fix TermSpans#skipTo() to behave as specified in javadocs of Terms#skipTo(). (Michael Busch) -8. LUCENE-1573: Do not ignore InterruptedException (caused by +3. LUCENE-1573: Do not ignore InterruptedException (caused by Thread.interrupt()) nor enter deadlock/spin loop. Now, an interrupt will cause a RuntimeException to be thrown. In 3.0 we will change public APIs to throw InterruptedException. (Jeremy Volkman vai Mike McCandless) -9. LUCENE-1590: Fixed stored-only Field instances to not change the +4. LUCENE-1590: Fixed stored-only Field instances to not change the value of omitNorms, omitTermFreqAndPositions in FieldInfo; when you retrieve such fields they will now have omitNorms=true and omitTermFreqAndPositions=false (though these values are unused). (Uwe Schindler via Mike McCandless) -10. LUCENE-1587: RangeQuery#equals() could consider a RangeQuery - without a collator equal to one with a collator. - (Mark Platvoet via Mark Miller) +5. LUCENE-1587: RangeQuery#equals() could consider a RangeQuery + without a collator equal to one with a collator. + (Mark Platvoet via Mark Miller) -11. LUCENE-1600: Don't call String.intern unnecessarily in some cases - when loading documents from the index. (P Eger via Mike - McCandless) +6. LUCENE-1600: Don't call String.intern unnecessarily in some cases + when loading documents from the index. (P Eger via Mike + McCandless) New features @@ -343,6 +318,11 @@ Test Cases ======================= Release 2.4.1 2009-03-09 ======================= +API Changes + +1. LUCENE-1186: Add Analyzer.close() to free internal ThreadLocal + resources. (Christian Kohlschütter via Mike McCandless) + Bug fixes 1. LUCENE-1452: Fixed silent data-loss case whereby binary fields are @@ -385,7 +365,7 @@ Bug fixes (Shon Vella via Mike McCandless). 11. LUCENE-1544: Fix deadlock in IndexWriter.addIndexes(IndexReader[]). - (Mike McCandless via Doug Sale) + (Mike McCandless via Doug Sale) 12. LUCENE-1547: Fix rare thread safety issue if two threads call IndexWriter commit() at the same time. (Mike McCandless)