Apache Solr open-source search software
LUCENE-1898: Switch changes to use bullets rather than numbers and update changes-to-html script to handle the new format.
Mark Robert Miller26b9f64ab8ed
diff --git a/CHANGES.txt b/CHANGES.txtindex b2fff1cd904..818ea1844fd 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -5,7 +5,7 @@ $Id$Changes in backwards compatibility policy- 1. LUCENE-1575: Searchable.search(Weight, Filter, int, Sort) no+ * LUCENE-1575: Searchable.search(Weight, Filter, int, Sort) nolonger computes a document score for each hit by default. Ifdocument score tracking is still needed, you can callIndexSearcher.setDefaultFieldSortScoring(true, true) to enable@@ -20,7 +20,7 @@ Changes in backwards compatibility policyTopFieldCollector tfc = TopFieldCollector.create(sort, numHits, fillFields,true /* trackDocScores */,true /* trackMaxScore */,- false /* docsInOrder */);+ false /* docsInOrder */);searcher.search(query, tfc);TopDocs results = tfc.topDocs();</code>@@ -40,7 +40,7 @@ Changes in backwards compatibility policyvalues internally in certain places, so if you have hits with suchscores, it will cause problems. (Shai Erera via Mike McCandless)- 2. LUCENE-1687: All methods and parsers from the interface ExtendedFieldCache+ * LUCENE-1687: All methods and parsers from the interface ExtendedFieldCachehave been moved into FieldCache. ExtendedFieldCache is now deprecated andcontains only a few declarations for binary backwards compatibility.ExtendedFieldCache will be removed in version 3.0. Users of FieldCache and@@ -53,7 +53,7 @@ Changes in backwards compatibility policywhich was unlikely done, because there is no possibility to changeLucene's FieldCache implementation. (Grant Ingersoll, Uwe Schindler)- 3. LUCENE-1630, LUCENE-1771: Weight, previously an interface, is now an abstract+ * LUCENE-1630, LUCENE-1771: Weight, previously an interface, is now an abstractclass. Some of the method signatures have changed, but it should be fairlyeasy to see what adjustments must be made to existing code to sync upwith the new API. You can find more detail in the API Changes section.@@ -64,7 +64,7 @@ Changes in backwards compatibility policySearcher.(Shai Erera, Chris Hostetter, Martin Ruckli, Mark Miller via Mike McCandless)- 4. LUCENE-1422, LUCENE-1693: The new Attribute based TokenStream API (see below)+ * LUCENE-1422, LUCENE-1693: The new Attribute based TokenStream API (see below)has some backwards breaks in rare cases. We did our best to make thetransition as easy as possible and you are not likely to run into any problems.If your tokenizers still implement next(Token) or next(), the calls are@@ -79,12 +79,12 @@ Changes in backwards compatibility policymethods in these TokenStreams/-Filters were made final in this release.(Michael Busch, Uwe Schindler)- 5. LUCENE-1763: MergePolicy now requires an IndexWriter instance to+ * LUCENE-1763: MergePolicy now requires an IndexWriter instance tobe passed upon instantiation. As a result, IndexWriter was removedas a method argument from all MergePolicy methods. (Shai Erera viaMike McCandless)- 6. LUCENE-1748: LUCENE-1001 introduced PayloadSpans, but this was a back+ * LUCENE-1748: LUCENE-1001 introduced PayloadSpans, but this was a backcompat break and caused custom SpanQuery implementations to fail at runtimein a variety of ways. This issue attempts to remedy things by causinga compile time break on custom SpanQuery implementations and removing@@ -93,7 +93,7 @@ Changes in backwards compatibility policyan interface to an abstract class.(Hugh Cayless, Mark Miller)- 7. LUCENE-1808: Query.createWeight has been changed from protected to+ * LUCENE-1808: Query.createWeight has been changed from protected topublic. This will be a back compat break if you have overridden thismethod - but you are likely already affected by the LUCENE-1693 (make Weightabstract rather than an interface) back compat break if you have overridden@@ -102,14 +102,14 @@ Changes in backwards compatibility policyChanges in runtime behavior- 1. LUCENE-1424: QueryParser now by default uses constant score auto+ * LUCENE-1424: QueryParser now by default uses constant score autorewriting when it generates a WildcardQuery and PrefixQuery (italready does so for TermRangeQuery, as well). CallsetMultiTermRewriteMethod(MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE)to revert to slower BooleanQuery rewriting method. (Mark Miller via MikeMcCandless)- 2. LUCENE-1575: As of 2.9, the core collectors as well as+ * LUCENE-1575: As of 2.9, the core collectors as well asIndexSearcher's search methods that return top N results, nolonger filter out zero scoring documents. If you rely on thisfunctionality you can use PositiveScoresOnlyCollector like this:@@ -122,24 +122,24 @@ Changes in runtime behavior...</code>- 3. LUCENE-1604: IndexReader.norms(String field) is now allowed to+ * LUCENE-1604: IndexReader.norms(String field) is now allowed toreturn null if the field has no norms, as long as you'vepreviously called IndexReader.setDisableFakeNorms(true). Thissetting now defaults to false (to preserve the fake norms backcompatible behavior) but in 3.0 will be hardwired to true. (ShonVella via Mike McCandless).- 4. LUCENE-1624: If you open IndexWriter with create=true and+ * LUCENE-1624: If you open IndexWriter with create=true andautoCommit=false on an existing index, IndexWriter no longerwrites an empty commit when it's created. (Paul Taylor via MikeMcCandless)- 5. LUCENE-1593: When you call Sort() or Sort.setSort(String field,+ * LUCENE-1593: When you call Sort() or Sort.setSort(String field,boolean reverse), the resulting SortField array no longer endswith SortField.FIELD_DOC (it was unnecessary as Lucene breaks tiesinternally by docID). (Shai Erera via Michael McCandless)- 6. LUCENE-1542: When the first token(s) have 0 position increment,+ * LUCENE-1542: When the first token(s) have 0 position increment,IndexWriter used to incorrectly record the position as -1, if nopayload is present, or Integer.MAX_VALUE if a payload is present.This causes positional queries to fail to match. The bug is now@@ -149,11 +149,11 @@ Changes in runtime behaviorrely on this behavior by the 3.0 release of Lucene. (JonathanMamou, Mark Miller via Mike McCandless)- 7. LUCENE-1708 - IndexReader.document() no longer checks if the document is+ * LUCENE-1708 - IndexReader.document() no longer checks if the document isdeleted. You can call IndexReader.isDeleted(n) prior to calling document(n).(Shai Erera via Mike McCandless)- 8. LUCENE-1715: Finalizers have been removed from the 4 core classes+ * LUCENE-1715: Finalizers have been removed from the 4 core classesthat still had them, since they will cause GC to take longer, thustying up memory for longer, and at best they mask buggy app code.DirectoryReader (returned from IndexReader.open) & IndexWriter@@ -164,29 +164,29 @@ Changes in runtime behavioris failing to close reader/writers. (Brian Groose via MikeMcCandless)- 9. LUCENE-1717: Fixed IndexWriter to account for RAM usage of+ * LUCENE-1717: Fixed IndexWriter to account for RAM usage ofbuffered deletions. (Mike McCandless)-10. LUCENE-1727: Ensure that fields are stored & retrieved in the+ * LUCENE-1727: Ensure that fields are stored & retrieved in theexact order in which they were added to the document. This wastrue in all Lucene releases before 2.3, but was broken in 2.3 and2.4, and is now fixed in 2.9. (Mike McCandless)-11. LUCENE-1678: The addition of Analyzer.reusableTokenStream+ * LUCENE-1678: The addition of Analyzer.reusableTokenStreamaccidentally broke back compatibility of external analyzers thatsubclassed core analyzers that implemented tokenStream but notreusableTokenStream. This is now fixed, such that ifreusableTokenStream is invoked on such a subclass, that methodwill forcefully fallback to tokenStream. (Mike McCandless)-12. LUCENE-1801: Token.clear() and Token.clearNoTermBuffer() now also clear+ * LUCENE-1801: Token.clear() and Token.clearNoTermBuffer() now also clearstartOffset, endOffset and type. This is not likely to affect anyTokenizer chains, as Tokenizers normally always set these three values.This change was made to be conform to the new AttributeImpl.clear() andAttributeSource.clearAttributes() to work identical for Token as one for allAttributeImpl and the 6 separate AttributeImpls. (Uwe Schindler, Michael Busch)-13. LUCENE-1483: When searching over multiple segments, a new Scorer is now created+ * LUCENE-1483: When searching over multiple segments, a new Scorer is now createdfor each segment. Searching has been telescoped out a level and IndexSearcher nowoperates much like MultiSearcher does. The Weight is created only once for the toplevel Searcher, but each Scorer is passed a per-segment IndexReader. This will@@ -199,13 +199,13 @@ Changes in runtime behaviorcaches/filters eg you can't count on the IndexReader to contain any given doc id orall of the doc ids. (Mark Miller, Mike McCandless)-14. LUCENE-1846: DateTools now uses the US locale to format the numbers in its+ * LUCENE-1846: DateTools now uses the US locale to format the numbers in itsdate/time strings instead of the default locale. For most locales there willbe no change in the index format, as DateFormatSymbols is using ASCII digits.The usage of the US locale is important to guarantee correct ordering ofgenerated terms. (Uwe Schindler)-15. LUCENE-1860: MultiTermQuery now defaults to+ * LUCENE-1860: MultiTermQuery now defaults toCONSTANT_SCORE_AUTO_REWRITE_DEFAULT rewrite method (previously itwas SCORING_BOOLEAN_QUERY_REWRITE). This means that PrefixQueryand WildcardQuery will now produce constant score for all matching@@ -213,19 +213,19 @@ Changes in runtime behaviorAPI Changes-1. LUCENE-1419: Add expert API to set custom indexing chain. This API is+ * LUCENE-1419: Add expert API to set custom indexing chain. This API ispackage-protected for now, so we don't have to officially support it.Yet, it will give us the possibility to try out different consumersin the chain. (Michael Busch)-2. LUCENE-1427: DocIdSet.iterator() is now allowed to throw+ * LUCENE-1427: DocIdSet.iterator() is now allowed to throwIOException. (Paul Elschot, Mike McCandless)-3. LUCENE-1451: Add public constructors to FSDirectory and subclasses,+ * LUCENE-1451: Add public constructors to FSDirectory and subclasses,and deprecate FSDirectory.getDirectory(). FSDirectory instancesare not required to be singletons per path. (yonik)-4. LUCENE-1422, LUCENE-1693: New TokenStream API that uses a new class called+ * LUCENE-1422, LUCENE-1693: New TokenStream API that uses a new class calledAttributeSource instead of the now deprecated Token class. All attributesthat the Token class had have been moved into separate classes:TermAttribute, OffsetAttribute, PositionIncrementAttribute,@@ -236,11 +236,11 @@ API ChangesFor conformance with this new API Tee-/SinkTokenizer was deprecatedand replaced by a new TeeSinkTokenFilter. (Michael Busch, Uwe Schindler)-5. LUCENE-1467: Add nextDoc() and next(int) methods to OpenBitSetIterator.+ * LUCENE-1467: Add nextDoc() and next(int) methods to OpenBitSetIterator.These methods can be used to avoid additional calls to doc().(Michael Busch)-6. LUCENE-1468: Deprecate Directory.list(), which sometimes (in+ * LUCENE-1468: Deprecate Directory.list(), which sometimes (inFSDirectory) filters out files that don't look like index files, infavor of new Directory.listAll(), which does no filtering. Also,listAll() will never return null; instead, it throws an IOException@@ -248,28 +248,28 @@ API Changesnewly added NoSuchDirectoryException if the directory does notexist. (Marcel Reutegger, Mike McCandless)-7. LUCENE-1483: Added new MultiReaderHitCollector which enables faster+ * LUCENE-1483: Added new MultiReaderHitCollector which enables fasterhit collection by notifying the collector for each sub-readerthat's visited. All core collectors now use this API. (MarkMiller, Mike McCandless)-8. LUCENE-1546: Add IndexReader.flush(Map commitUserData), allowing+ * LUCENE-1546: Add IndexReader.flush(Map commitUserData), allowingyou to record an opaque commitUserData (maps String -> String) intothe commit written by IndexReader. This matches IndexWriter'scommit methods. (Jason Rutherglen via Mike McCandless)-9. LUCENE-652: Added org.apache.lucene.document.CompressionTools, to+ * LUCENE-652: Added org.apache.lucene.document.CompressionTools, toenable compressing & decompressing binary content, external toLucene's indexing. Deprecated Field.Store.COMPRESS.-10. LUCENE-1561: Renamed Field.omitTf to Field.omitTermFreqAndPositions+ * LUCENE-1561: Renamed Field.omitTf to Field.omitTermFreqAndPositions(Otis Gospodnetic via Mike McCandless)-11. LUCENE-1500: Added new InvalidTokenOffsetsException to Highlighter methods+ * LUCENE-1500: Added new InvalidTokenOffsetsException to Highlighter methodsto denote issues when offsets in TokenStream tokens exceed the length of theprovided text. (Mark Harwood)-12. LUCENE-1575: HitCollector is now deprecated in favor of a new+ * LUCENE-1575: HitCollector is now deprecated in favor of a newCollector abstract class. For easy migration, people can useHitCollectorWrapper which translates (wraps) HitCollector intoCollector. Note that this class is also deprecated and will be@@ -277,33 +277,33 @@ API Changesis deprecated in favor of the new TimeLimitingCollector whichextends Collector. (Shai Erera via Mike McCandless)-13. LUCENE-1592: The method TermsEnum.skipTo() was deprecated, because+ * LUCENE-1592: The method TermsEnum.skipTo() was deprecated, becauseit is used nowhere in core/contrib and there is only a very ineffectivedefault implementation available. If you want to position a TermEnumto another Term, create a new one using IndexReader.terms(Term).(Uwe Schindler)-14. LUCENE-1621: MultiTermQuery.getTerm() has been deprecated as it does+ * LUCENE-1621: MultiTermQuery.getTerm() has been deprecated as it doesnot make sense for all subclasses of MultiTermQuery. Check individualsubclasses to see if they support getTerm(). (Mark Miller)-15. LUCENE-1636: Make TokenFilter.input final so it's set only+ * LUCENE-1636: Make TokenFilter.input final so it's set onlyonce. (Wouter Heijke, Uwe Schindler via Mike McCandless).-16. LUCENE-1658: Renamed FSDirectory to SimpleFSDirectory (but left an+ * LUCENE-1658: Renamed FSDirectory to SimpleFSDirectory (but left anFSDirectory base class). Added an FSDirectory.open static methodto pick a good default FSDirectory implementation given the OS.(Michael McCandless, Uwe Schindler)-17. LUCENE-1665: Deprecate SortField.AUTO, to be removed in 3.0.+ * LUCENE-1665: Deprecate SortField.AUTO, to be removed in 3.0.Instead, when sorting by field, the application should explicitlystate the type of the field. (Mike McCandless)-18. LUCENE-1660: StopFilter, StandardAnalyzer, StopAnalyzer now+ * LUCENE-1660: StopFilter, StandardAnalyzer, StopAnalyzer nowrequire up front specification of enablePositionIncrement (MikeMcCandless)-19. LUCENE-1614: DocIdSetIterator's next() and skipTo() were deprecated in favor+ * LUCENE-1614: DocIdSetIterator's next() and skipTo() were deprecated in favorof the new nextDoc() and advance(). The new methods return the doc Id theylanded on, saving an extra call to doc() in most cases.For easy migration of the code, you can change the calls to next() to@@ -315,28 +315,28 @@ API Changesiterator has exhausted. Otherwise it should return the current doc ID.(Shai Erera via Mike McCandless)-20. LUCENE-1672: All ctors/opens and other methods using String/File to+ * LUCENE-1672: All ctors/opens and other methods using String/File tospecify the directory in IndexReader, IndexWriter, and IndexSearcherwere deprecated. You should instantiate the Directory manually beforeand pass it to these classes (LUCENE-1451, LUCENE-1658).(Uwe Schindler)-21. LUCENE-1407: Move RemoteSearchable, RemoteCachingWrapperFilter out+ * LUCENE-1407: Move RemoteSearchable, RemoteCachingWrapperFilter outof Lucene's core into new contrib/remote package. Searchable nolonger extends java.rmi.Remote (Simon Willnauer via MikeMcCandless)-22. LUCENE-1677: The global property+ * LUCENE-1677: The global propertyorg.apache.lucene.SegmentReader.class, andReadOnlySegmentReader.class are now deprecated, to be removed in3.0. src/gcj/* has been removed. (Earwin Burrfoot via MikeMcCandless)-23. LUCENE-1673: Deprecated NumberTools in favour of the new+ * LUCENE-1673: Deprecated NumberTools in favour of the newNumericRangeQuery and its new indexing format for numeric ordate values. (Uwe Schindler)-24. LUCENE-1630, LUCENE-1771: Weight is now an abstract class, and adds+ * LUCENE-1630, LUCENE-1771: Weight is now an abstract class, and addsa scorer(IndexReader, boolean /* scoreDocsInOrder */, boolean /*topScorer */) method instead of scorer(IndexReader). IndexSearcher usesthis method to obtain a scorer matching the capabilities of the Collector@@ -354,26 +354,26 @@ API Changesa top level reader and docID.(Shai Erera, Chris Hostetter, Martin Ruckli, Mark Miller via Mike McCandless)-25. LUCENE-1466: Changed Tokenizer.input to be a CharStream; added+ * LUCENE-1466: Changed Tokenizer.input to be a CharStream; addedCharFilter and MappingCharFilter, which allows chaining & mappingof characters before tokenizers run. (Koji Sekiguchi via MikeMcCandless)-26. LUCENE-1703: Add IndexWriter.waitForMerges. (Tim Smith via Mike+ * LUCENE-1703: Add IndexWriter.waitForMerges. (Tim Smith via MikeMcCandless)-27. LUCENE-1625: CheckIndex's programmatic API now returns separate+ * LUCENE-1625: CheckIndex's programmatic API now returns separateclasses detailing the status of each component in the index, andincludes more detailed status than previously. (Tim Smith viaMike McCandless)-28. LUCENE-1713: Deprecated RangeQuery and RangeFilter and renamed to+ * LUCENE-1713: Deprecated RangeQuery and RangeFilter and renamed toTermRangeQuery and TermRangeFilter. TermRangeQuery is in constantscore auto rewrite mode by default. The new classes also have newctors taking field and term ranges as Strings (see alsoLUCENE-1424). (Uwe Schindler)-29. LUCENE-1609: The termInfosIndexDivisor must now be specified+ * LUCENE-1609: The termInfosIndexDivisor must now be specifiedup-front when opening the IndexReader. Attempts to callIndexReader.setTermInfosIndexDivisor will hit anUnsupportedOperationException. This was done to enable removal of@@ -381,16 +381,16 @@ API Changescause threads to pile up in certain cases. (Dan Rosher via MikeMcCandless)-30. LUCENE-1688: Deprecate static final String stop word array in and+ * LUCENE-1688: Deprecate static final String stop word array in andStopAnalzyer and replace it with an immutable implementation ofCharArraySet. (Simon Willnauer via Mark Miller)-31. LUCENE-1742: SegmentInfos, SegmentInfo and SegmentReader have been+ * LUCENE-1742: SegmentInfos, SegmentInfo and SegmentReader have beenmade public as expert, experimental APIs. These APIs may suddenlychange from release to release (Jason Rutherglen via MikeMcCandless).-32. LUCENE-1754: QueryWeight.scorer() can return null if no documents+ * LUCENE-1754: QueryWeight.scorer() can return null if no documentsare going to be matched by the query. Similarly,Filter.getDocIdSet() can return null if no documents are going tobe accepted by the Filter. Note that these 'can' return null,@@ -400,13 +400,13 @@ API Changesdocumented here just for emphasis. (Shai Erera via MikeMcCandless)-33. LUCENE-1705: Added IndexWriter.deleteAllDocuments. (Tim Smith via+ * LUCENE-1705: Added IndexWriter.deleteAllDocuments. (Tim Smith viaMike McCandless)-34. LUCENE-1460: Changed TokenStreams/TokenFilters in contrib to+ * LUCENE-1460: Changed TokenStreams/TokenFilters in contrib touse the new TokenStream API. (Robert Muir, Michael Busch)-35. LUCENE-1748: LUCENE-1001 introduced PayloadSpans, but this was a back+ * LUCENE-1748: LUCENE-1001 introduced PayloadSpans, but this was a backcompat break and caused custom SpanQuery implementations to fail at runtimein a variety of ways. This issue attempts to remedy things by causinga compile time break on custom SpanQuery implementations and removing@@ -415,18 +415,18 @@ API Changesan interface to an abstract class.(Hugh Cayless, Mark Miller)-36. LUCENE-1808: Query.createWeight has been changed from protected to+ * LUCENE-1808: Query.createWeight has been changed from protected topublic. (Tim Smith, Shai Erera via Mark Miller)-37. LUCENE-1826: Add constructors that take AttributeSource and+ * LUCENE-1826: Add constructors that take AttributeSource andAttributeFactory to all Tokenizer implementations.(Michael Busch)-38. LUCENE-1847: Similarity#idf for both a Term and Term Collection have+ * LUCENE-1847: Similarity#idf for both a Term and Term Collection havebeen deprecated. New versions that return an IDFExplanation have beenadded. (Yasoja Seneviratne, Mike McCandless, Mark Miller)-39. LUCENE-1877: Made NativeFSLockFactory the default for+ * LUCENE-1877: Made NativeFSLockFactory the default forthe new FSDirectory API (open(), FSDirectory subclass ctors).All FSDirectory system properties were deprecated and all lockimplementations use no lock prefix if the locks are stored inside@@ -438,49 +438,49 @@ API ChangesBug fixes-1. LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()+ * LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()implementation - Leads to Solr Cache misses.(Todd Feak, Mark Miller via yonik)-2. LUCENE-1327: Fix TermSpans#skipTo() to behave as specified in javadocs+ * LUCENE-1327: Fix TermSpans#skipTo() to behave as specified in javadocsof Terms#skipTo(). (Michael Busch)-3. LUCENE-1573: Do not ignore InterruptedException (caused by+ * LUCENE-1573: Do not ignore InterruptedException (caused byThread.interrupt()) nor enter deadlock/spin loop. Now, an interruptwill cause a RuntimeException to be thrown. In 3.0 we will changepublic APIs to throw InterruptedException. (Jeremy Volkman viaMike McCandless)-4. LUCENE-1590: Fixed stored-only Field instances do not change the+ * LUCENE-1590: Fixed stored-only Field instances do not change thevalue of omitNorms, omitTermFreqAndPositions in FieldInfo; when youretrieve such fields they will now have omitNorms=true andomitTermFreqAndPositions=false (though these values are unused).(Uwe Schindler via Mike McCandless)-5. LUCENE-1587: RangeQuery#equals() could consider a RangeQuery+ * LUCENE-1587: RangeQuery#equals() could consider a RangeQuerywithout a collator equal to one with a collator.(Mark Platvoet via Mark Miller)-6. LUCENE-1600: Don't call String.intern unnecessarily in some cases+ * LUCENE-1600: Don't call String.intern unnecessarily in some caseswhen loading documents from the index. (P Eger via MikeMcCandless)-7. LUCENE-1611: Fix case where OutOfMemoryException in IndexWriter+ * LUCENE-1611: Fix case where OutOfMemoryException in IndexWritercould cause "infinite merging" to happen. (Christiaan Fluit viaMike McCandless)-8. LUCENE-1623: Properly handle back-compatibility of 2.3.x indexes that+ * LUCENE-1623: Properly handle back-compatibility of 2.3.x indexes thatcontain field names with non-ascii characters. (Mike Streeton viaMike McCandless)-9. LUCENE-1593: MultiSearcher and ParallelMultiSearcher did not break ties (in+ * LUCENE-1593: MultiSearcher and ParallelMultiSearcher did not break ties (insort) by doc Id in a consistent manner (i.e., if Sort.FIELD_DOC was used vs.when it wasn't). (Shai Erera via Michael McCandless)-10. LUCENE-1647: Fix case where IndexReader.undeleteAll would cause+ * LUCENE-1647: Fix case where IndexReader.undeleteAll would causethe segment's deletion count to be incorrect. (Mike McCandless)-11. LUCENE-1542: When the first token(s) have 0 position increment,+ * LUCENE-1542: When the first token(s) have 0 position increment,IndexWriter used to incorrectly record the position as -1, if nopayload is present, or Integer.MAX_VALUE if a payload is present.This causes positional queries to fail to match. The bug is now@@ -490,25 +490,25 @@ Bug fixesrely on this behavior by the 3.0 release of Lucene. (JonathanMamou, Mark Miller via Mike McCandless)-15. LUCENE-1658: Fixed MMapDirectory to correctly throw IOExceptions+ * LUCENE-1658: Fixed MMapDirectory to correctly throw IOExceptionson EOF, removed numeric overflow possibilities and added supportfor a hack to unmap the buffers on closing IndexInput.(Uwe Schindler)-16. LUCENE-1681: Fix infinite loop caused by a call to DocValues methods+ * LUCENE-1681: Fix infinite loop caused by a call to DocValues methodsgetMinValue, getMaxValue, getAverageValue. (Simon Willnauer via Mark Miller)-17. LUCENE-1599: Add clone support for SpanQuerys. SpanRegexQuery counts+ * LUCENE-1599: Add clone support for SpanQuerys. SpanRegexQuery countson this functionality and does not work correctly without it.(Billow Gao, Mark Miller)-18. LUCENE-1718: Fix termInfosIndexDivisor to carry over to reopened+ * LUCENE-1718: Fix termInfosIndexDivisor to carry over to reopenedreaders (Mike McCandless)-19. LUCENE-1583: SpanOrQuery skipTo() doesn't always move forwards as Spans+ * LUCENE-1583: SpanOrQuery skipTo() doesn't always move forwards as Spansdocumentation indicates it should. (Moti Nisenson via Mark Miller)-20. LUCENE-1566: Sun JVM Bug+ * LUCENE-1566: Sun JVM Bughttp://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6478546 causesinvalid OutOfMemoryError when reading too many bytes at once froma file on 32bit JVMs that have a large maximum heap size. This@@ -518,40 +518,40 @@ Bug fixesshow the bug, the default is Integer.MAX_VALUE. (Simon Willnauervia Mike McCandless)-21. LUCENE-1448: Added TokenStream.end() to perform end-of-stream+ * LUCENE-1448: Added TokenStream.end() to perform end-of-streamoperations (ie to return the end offset of the tokenization).This is important when multiple fields with the same name are addedto a document, to ensure offsets recorded in term vectors for allof the instances are correct.(Mike McCandless, Mark Miller, Michael Busch)-22. LUCENE-1805: CloseableThreadLocal did not allow a null Object in get(),+ * LUCENE-1805: CloseableThreadLocal did not allow a null Object in get(),although it does allow it in set(Object). Fix get() to not assert the objectis not null. (Shai Erera via Mike McCandless)-23. LUCENE-1801: Changed all Tokenizers or TokenStreams in core/contrib)+ * LUCENE-1801: Changed all Tokenizers or TokenStreams in core/contrib)that are the source of Tokens to always callAttributeSource.clearAttributes() first. (Uwe Schindler)-24. LUCENE-1819: MatchAllDocsQuery.toString(field) should produce output+ * LUCENE-1819: MatchAllDocsQuery.toString(field) should produce outputthat is parsable by the QueryParser. (John Wang, Mark Miller)-25. LUCENE-1836: Fix localization bug in the new query parser and add+ * LUCENE-1836: Fix localization bug in the new query parser and addnew LocalizedTestCase as base class for localization junit tests.(Robert Muir, Uwe Schindler via Michael Busch)-26. LUCENE-1847: PhraseQuery/TermQuery/SpanQuery use IndexReader specific stats+ * LUCENE-1847: PhraseQuery/TermQuery/SpanQuery use IndexReader specific statsin their Weight#explain methods - these stats should be corpus wide.(Yasoja Seneviratne, Mike McCandless, Mark Miller)-27. LUCENE-1885: Fix the bug that NativeFSLock.isLocked() did not work,+ * LUCENE-1885: Fix the bug that NativeFSLock.isLocked() did not work,if the lock was obtained by another NativeFSLock(Factory) instance.Because of this IndexReader.isLocked() and IndexWriter.isLocked() didnot work correctly. (Uwe Schindler)New features- 1. LUCENE-1411: Added expert API to open an IndexWriter on a prior+ * LUCENE-1411: Added expert API to open an IndexWriter on a priorcommit, obtained from IndexReader.listCommits. This makes itpossible to rollback changes to an index even after you've closedthe IndexWriter that made the changes, assuming you are using an@@ -559,13 +559,13 @@ New featureswhen building transactional support on top of Lucene. (MikeMcCandless)- 2. LUCENE-1382: Add an optional arbitrary Map (String -> String)+ * LUCENE-1382: Add an optional arbitrary Map (String -> String)"commitUserData" to IndexWriter.commit(), which is stored in thesegments file and is then retrievable viaIndexReader.getCommitUserData instance and static methods.(Shalin Shekhar Mangar via Mike McCandless)- 3. LUCENE-1420: Similarity now has a computeNorm method that allows+ * LUCENE-1420: Similarity now has a computeNorm method that allowscustom Similarity classes to override how norm is computed. It'sprovided a FieldInvertState instance that contains details frominverting the field. The default impl is boost *@@ -574,14 +574,14 @@ New featuresoverlapping tokens (tokens with 0 position increment) should becounted in lengthNorm. (Andrzej Bialecki via Mike McCandless)- 4. LUCENE-1424: Moved constant score query rewrite capability into+ * LUCENE-1424: Moved constant score query rewrite capability intoMultiTermQuery, allowing TermRangeQuery, PrefixQuery and WildcardQueryto switch between constant-score rewriting or BooleanQueryexpansion rewriting via a new setRewriteMethod method.Deprecated ConstantScoreRangeQuery (Mark Miller via MikeMcCandless)- 5. LUCENE-1461: Added FieldCacheRangeFilter, a RangeFilter for+ * LUCENE-1461: Added FieldCacheRangeFilter, a RangeFilter forsingle-term fields that uses FieldCache to compute the filter. Ifyour documents all have a single term for a given field, and youneed to create many RangeFilters with varying lower/upper bounds,@@ -593,82 +593,82 @@ New featuressupport collation (Tim Sturge, Matt Ericson via Mike McCandless andUwe Schindler)- 6. LUCENE-1296: add protected method CachingWrapperFilter.docIdSetToCache+ * LUCENE-1296: add protected method CachingWrapperFilter.docIdSetToCacheto allow subclasses to choose which DocIdSet implementation to use(Paul Elschot via Mike McCandless)- 7. LUCENE-1390: Added ASCIIFoldingFilter, a Filter that converts+ * LUCENE-1390: Added ASCIIFoldingFilter, a Filter that convertsalphabetic, numeric, and symbolic Unicode characters which are not inthe first 127 ASCII characters (the "Basic Latin" Unicode block) intotheir ASCII equivalents, if one exists. ISOLatin1AccentFilter, whichhandles a subset of this filter, has been deprecated.(Andi Vajda, Steven Rowe via Mark Miller)- 8. LUCENE-1478: Added new SortField constructor allowing you to+ * LUCENE-1478: Added new SortField constructor allowing you tospecify a custom FieldCache parser to generate numeric values fromterms for a field. (Uwe Schindler via Mike McCandless)- 9. LUCENE-1528: Add support for Ideographic Space to the queryparser.+ * LUCENE-1528: Add support for Ideographic Space to the queryparser.(Luis Alves via Michael Busch)-10. LUCENE-1487: Added FieldCacheTermsFilter, to filter by multiple+ * LUCENE-1487: Added FieldCacheTermsFilter, to filter by multipleterms on single-valued fields. The filter loads the FieldCachefor the field the first time it's called, and subsequent usage ofthat field, even with different Terms in the filter, are fast.(Tim Sturge, Shalin Shekhar Mangar via Mike McCandless).-11. LUCENE-1314: Add clone(), clone(boolean readOnly) and+ * LUCENE-1314: Add clone(), clone(boolean readOnly) andreopen(boolean readOnly) to IndexReader. Cloning an IndexReadergives you a new reader which you can make changes to (deletions,norms) without affecting the original reader. Now, with clone orreopen you can change the readOnly of the original reader. (JasonRutherglen, Mike McCandless)-12. LUCENE-1506: Added FilteredDocIdSet, an abstract class which you+ * LUCENE-1506: Added FilteredDocIdSet, an abstract class which yousubclass to implement the "match" method to accept or reject eachdocID. Unlike ChainedFilter (under contrib/misc),FilteredDocIdSet never requires you to materialize the fullbitset. Instead, match() is called on demand per docID. (JohnWang via Mike McCandless)-13. LUCENE-1398: Add ReverseStringFilter to contrib/analyzers, a filter+ * LUCENE-1398: Add ReverseStringFilter to contrib/analyzers, a filterto reverse the characters in each token. (Koji Sekiguchi via yonik)-14. LUCENE-1551: Add expert IndexReader.reopen(IndexCommit) to allow+ * LUCENE-1551: Add expert IndexReader.reopen(IndexCommit) to allowefficiently opening a new reader on a specific commit, sharingresources with the original reader. (Torin Danil via MikeMcCandless)-15. LUCENE-1434: Added org.apache.lucene.util.IndexableBinaryStringTools,+ * LUCENE-1434: Added org.apache.lucene.util.IndexableBinaryStringTools,to encode byte[] as String values that are valid terms, andmaintain sort order of the original byte[] when the bytes areinterpreted as unsigned. (Steven Rowe via Mike McCandless)-16. LUCENE-1543: Allow MatchAllDocsQuery to optionally use norms from+ * LUCENE-1543: Allow MatchAllDocsQuery to optionally use norms froma specific fields to set the score for a document. (Karl Wettinvia Mike McCandless)-17. LUCENE-1586: Add IndexReader.getUniqueTermCount(). (Mike+ * LUCENE-1586: Add IndexReader.getUniqueTermCount(). (MikeMcCandless via Derek)-18. LUCENE-1516: Added "near real-time search" to IndexWriter, via a+ * LUCENE-1516: Added "near real-time search" to IndexWriter, via anew expert getReader() method. This method returns a reader thatsearches the full index, including any uncommitted changes in thecurrent IndexWriter session. This should result in a fasterturnaround than the normal approach of commiting the changes andthen reopening a reader. (Jason Rutherglen via Mike McCandless)-19. LUCENE-1603: Added new MultiTermQueryWrapperFilter, to wrap any+ * LUCENE-1603: Added new MultiTermQueryWrapperFilter, to wrap anyMultiTermQuery as a Filter. Also made some improvements toMultiTermQuery: return DocIdSet.EMPTY_DOCIDSET if there are noterms in the enum; track the total number of terms it visitedduring rewrite (getTotalNumberOfTerms). FilteredTermEnum is alsomore friendly to subclassing. (Uwe Schindler via Mike McCandless)-20. LUCENE-1605: Added BitVector.subset(). (Jeremy Volkman via Mike+ * LUCENE-1605: Added BitVector.subset(). (Jeremy Volkman via MikeMcCandless)-21. LUCENE-1618: Added FileSwitchDirectory that enables files with+ * LUCENE-1618: Added FileSwitchDirectory that enables files withspecified extensions to be stored in a primary directory and therest of the files to be stored in the secondary directory. Forexample, this can be useful for the large doc-store (stored@@ -676,19 +676,19 @@ New featuresindex files in a RAMDirectory. (Jason Rutherglen via MikeMcCandless)-22. LUCENE-1494: Added FieldMaskingSpanQuery which can be used to+ * LUCENE-1494: Added FieldMaskingSpanQuery which can be used tocross-correlate Spans from different fields.(Paul Cowan and Chris Hostetter)-23. LUCENE-1634: Add calibrateSizeByDeletes to LogMergePolicy, to take+ * LUCENE-1634: Add calibrateSizeByDeletes to LogMergePolicy, to takedeletions into account when considering merges. (Yasuhiro Matsudavia Mike McCandless)-24. LUCENE-1550: Added new n-gram based String distance measure for spell checking.+ * LUCENE-1550: Added new n-gram based String distance measure for spell checking.See the Javadocs for NGramDistance.java for a reference paper on whythis is helpful (Tom Morton via Grant Ingersoll)-25. LUCENE-1470, LUCENE-1582, LUCENE-1602, LUCENE-1673, LUCENE-1701, LUCENE-1712:+ * LUCENE-1470, LUCENE-1582, LUCENE-1602, LUCENE-1673, LUCENE-1701, LUCENE-1712:Added NumericRangeQuery and NumericRangeFilter, a fast alternative toRangeQuery/RangeFilter for numeric searches. They depend on a specificstructure of terms in the index that can be created by indexing@@ -700,24 +700,24 @@ New featuresand loaded into the FieldCache. (Uwe Schindler, Yonik Seeley,Mike McCandless)-26. LUCENE-1405: Added support for Ant resource collections in contrib/ant+ * LUCENE-1405: Added support for Ant resource collections in contrib/ant<index> task. (Przemyslaw Sztoch via Erik Hatcher)-27. LUCENE-1699: Allow setting a TokenStream on Field/Fieldable for indexing+ * LUCENE-1699: Allow setting a TokenStream on Field/Fieldable for indexingin conjunction with any other ways to specify stored field values,currently binary or string values. (yonik)-28. LUCENE-1701: Made the standard FieldCache.Parsers public and added+ * LUCENE-1701: Made the standard FieldCache.Parsers public and addedparsers for fields generated using NumericField/NumericTokenStream.All standard parsers now also implement Serializable and enforcetheir singleton status. (Uwe Schindler, Mike McCandless)-29. LUCENE-1741: User configurable maximum chunk size in MMapDirectory.+ * LUCENE-1741: User configurable maximum chunk size in MMapDirectory.On 32 bit platforms, the address space can be very fragmented, soone big ByteBuffer for the whole file may not fit into address space.(Eks Dev via Uwe Schindler)-30. LUCENE-1644: Enable 4 rewrite modes for queries deriving from+ * LUCENE-1644: Enable 4 rewrite modes for queries deriving fromMultiTermQuery (WildcardQuery, PrefixQuery, TermRangeQuery,NumericRangeQuery): CONSTANT_SCORE_FILTER_REWRITE first creates afilter and then assigns constant score (boost) to docs;@@ -727,25 +727,25 @@ New featuresCONSTANT_SCORE_AUTO_REWRITE tries to pick the most performantconstant-score rewrite method. (Mike McCandless)-31. LUCENE-1448: Added TokenStream.end(), to perform end-of-stream+ * LUCENE-1448: Added TokenStream.end(), to perform end-of-streamoperations. This is currently used to fix offset problems whenmultiple fields with the same name are added to a document.(Mike McCandless, Mark Miller, Michael Busch)-32. LUCENE-1776: Add an option to not collect payloads for an ordered+ * LUCENE-1776: Add an option to not collect payloads for an orderedSpanNearQuery. Payloads were not lazily loaded in this case asthe javadocs implied. If you have payloads and want to use an orderedSpanNearQuery that does not need to use the payloads, you candisable loading them with a new constructor switch. (Mark Miller)-33. LUCENE-1341: Added PayloadNearQuery to enable SpanNearQuery functionality+ * LUCENE-1341: Added PayloadNearQuery to enable SpanNearQuery functionalitywith payloads (Peter Keegan, Grant Ingersoll, Mark Miller)-34. LUCENE-1790: Added PayloadTermQuery to enable scoring of payloads+ * LUCENE-1790: Added PayloadTermQuery to enable scoring of payloadsbased on the maximum payload seen for a document.Slight refactoring of Similarity and other payload queries (Grant Ingersoll, Mark Miller)-36. LUCENE-1749: Addition of FieldCacheSanityChecker utility, and+ * LUCENE-1749: Addition of FieldCacheSanityChecker utility, andhooks to use it in all existing Lucene Tests. This class canbe used by any application to inspect the FieldCache and providediagnostic information about the possibility of inconsistent@@ -755,7 +755,7 @@ New featuresreaders.(Chris Hostetter, Mark Miller)-36. LUCENE-1789: Added utility class+ * LUCENE-1789: Added utility classoal.search.function.MultiValueSource to ease the transition tosegment based searching for any apps that directly calloal.search.function.* APIs. This class wraps any other@@ -765,114 +765,118 @@ New featuresOptimizations- 1. LUCENE-1427: Fixed QueryWrapperFilter to not waste time computing+ * LUCENE-1427: Fixed QueryWrapperFilter to not waste time computingscores of the query, since they are just discarded. Also, made itmore efficient (single pass) by not creating & populating anintermediate OpenBitSet (Paul Elschot, Mike McCandless)- 2. LUCENE-1443: Performance improvement for OpenBitSetDISI.inPlaceAnd()+ * LUCENE-1443: Performance improvement for OpenBitSetDISI.inPlaceAnd()(Paul Elschot via yonik)- 3. LUCENE-1484: Remove synchronization of IndexReader.document() by+ * LUCENE-1484: Remove synchronization of IndexReader.document() byusing CloseableThreadLocal internally. (Jason Rutherglen via MikeMcCandless).- 4. LUCENE-1224: Short circuit FuzzyQuery.rewrite when input token length+ * LUCENE-1224: Short circuit FuzzyQuery.rewrite when input token lengthis small compared to minSimilarity. (Timo Nentwig, Mark Miller)- 5. LUCENE-1316: MatchAllDocsQuery now avoids the synchronized+ * LUCENE-1316: MatchAllDocsQuery now avoids the synchronizedIndexReader.isDeleted() call per document, by directly accessingthe underlying deleteDocs BitVector. This improves performancewith non-readOnly readers, especially in a multi-threadedenvironment. (Todd Feak, Yonik Seeley, Jason Rutherglen via MikeMcCandless)- 6. LUCENE-1483: When searching over multiple segments we now visit+ * LUCENE-1483: When searching over multiple segments we now visiteach sub-reader one at a time. This speeds up warming, sinceFieldCache entries (if required) can be shared across reopens forthose segments that did not change, and also speeds up searchesthat sort by relevance or by field values. (Mark Miller, MikeMcCandless)- 7. LUCENE-1575: The new Collector class decouples collect() from+ * LUCENE-1575: The new Collector class decouples collect() fromscore computation. Collector.setScorer is called to establish thecurrent Scorer in-use per segment. Collectors that require thescore should then call Scorer.score() per hit insidecollect(). (Shai Erera via Mike McCandless)- 8. LUCENE-1596: MultiTermDocs speedup when set with+ * LUCENE-1596: MultiTermDocs speedup when set withMultiTermDocs.seek(MultiTermEnum) (yonik)- 9. LUCENE-1653: Avoid creating a Calendar in every call to+ * LUCENE-1653: Avoid creating a Calendar in every call toDateTools#dateToString, DateTools#timeToString andDateTools#round. (Shai Erera via Mark Miller)-10. LUCENE-1688: Deprecate static final String stop word array and+ * LUCENE-1688: Deprecate static final String stop word array andreplace it with an immutable implementation of CharArraySet.Removes conversions between Set and array.(Simon Willnauer via Mark Miller)-11. LUCENE-1754: BooleanQuery.queryWeight.scorer() will return null if+ * LUCENE-1754: BooleanQuery.queryWeight.scorer() will return null ifit won't match any documents (e.g. if there are no required andoptional scorers, or not enough optional scorers to satisfyminShouldMatch). (Shai Erera via Mike McCandless)-12. LUCENE-1607: To speed up string interning for commonly used+ * LUCENE-1607: To speed up string interning for commonly usedstrings, the StringHelper.intern() interface was added with adefault implementation that uses a lockless cache.(Earwin Burrfoot, yonik)-13. LUCENE-1800: QueryParser should use reusable TokenStreams. (yonik)+ * LUCENE-1800: QueryParser should use reusable TokenStreams. (yonik)Documentation- 1. LUCENE-1872: NumericField javadoc improvements+ * LUCENE-1872: NumericField javadoc improvements(Michael McCandless, Uwe Schindler)- 2. LUCENE-1875: Make TokenStream.end javadoc less confusing.+ * LUCENE-1875: Make TokenStream.end javadoc less confusing.(Uwe Schindler)- 3. LUCENE-1862: Rectified duplicate package level javadocs for+ * LUCENE-1862: Rectified duplicate package level javadocs foro.a.l.queryParser and o.a.l.analysis.cn.(Chris Hostetter)- 4. LUCENE-1886: Improved hyperlinking in key Analysis javadocs+ * LUCENE-1886: Improved hyperlinking in key Analysis javadocs(Bernd Fondermann via Chris Hostetter)- 5. LUCENE-1884: massive javadoc and comment cleanup, primarily dealing with+ * LUCENE-1884: massive javadoc and comment cleanup, primarily dealing withtypos.(Robert Muir via Chris Hostetter)++ * LUCENE-1898: Switch changes to use bullets rather than numbers and+ update changes-to-html script to handle the new format.+ (Steven Rowe, Mark Miller)Build- 1. LUCENE-1440: Add new targets to build.xml that allow downloading+ * LUCENE-1440: Add new targets to build.xml that allow downloadingand executing the junit testcases from an older release forbackwards-compatibility testing. (Michael Busch)- 2. LUCENE-1446: Add compatibility tag to common-build.xml and run+ * LUCENE-1446: Add compatibility tag to common-build.xml and runbackwards-compatibility tests in the nightly build. (Michael Busch)- 3. LUCENE-1529: Properly test "drop-in" replacement of jar with+ * LUCENE-1529: Properly test "drop-in" replacement of jar withbackwards-compatibility tests. (Mike McCandless, Michael Busch)- 4. LUCENE-1851: Change 'javacc' and 'clean-javacc' targets to build+ * LUCENE-1851: Change 'javacc' and 'clean-javacc' targets to buildand clean contrib/surround files. (Luis Alves via Michael Busch)- 5. LUCENE-1854: tar task should use longfile="gnu" to avoid false file+ * LUCENE-1854: tar task should use longfile="gnu" to avoid false filename length warnings. (Mark Miller)Test Cases- 1. LUCENE-1791: Enhancements to the QueryUtils and CheckHits utility+ * LUCENE-1791: Enhancements to the QueryUtils and CheckHits utilityclasses to wrap IndexReaders and Searchers in MultiReaders orMultiSearcher when possible to help exercise more edge cases.(Chris Hostetter, Mark Miller)- 2. LUCENE-1852: Fix localization test failures.+ * LUCENE-1852: Fix localization test failures.(Robert Muir via Michael Busch)- 3. LUCENE-1843: Refactored all tests that use assertAnalyzesTo() & others+ * LUCENE-1843: Refactored all tests that use assertAnalyzesTo() & othersin core and contrib to use a new BaseTokenStreamTestCasebase class. Also rewrote some tests to use this general analysis assertfunctions instead of own ones (e.g. TestMappingCharFilter).@@ -881,7 +885,7 @@ Test Casesimplementation) and disabled (default for Lucene 3.0)(Uwe Schindler, Robert Muir)- 4. LUCENE-1836: Added a new LocalizedTestCase as base class for localization+ * LUCENE-1836: Added a new LocalizedTestCase as base class for localizationjunit tests. (Robert Muir, Uwe Schindler via Michael Busch)======================= Release 2.4.1 2009-03-09 =======================diff --git a/contrib/CHANGES.txt b/contrib/CHANGES.txtindex 8873d1d8345..2a992eea5d5 100644--- a/contrib/CHANGES.txt+++ b/contrib/CHANGES.txt@@ -4,12 +4,12 @@ Lucene contrib change LogChanges in runtime behavior- 1. LUCENE-1505: Local lucene now uses org.apache.lucene.util.NumericUtils for all+ * LUCENE-1505: Local lucene now uses org.apache.lucene.util.NumericUtils for allnumber conversion. You'll need to fully re-index any previously created indexes.This isn't a break in back-compatibility because local Lucene has not yetbeen released. (Mike McCandless)- 2. LUCENE-1758: ArabicAnalyzer now uses the light10 algorithm, has a refined+ * LUCENE-1758: ArabicAnalyzer now uses the light10 algorithm, has a refineddefault stopword list, and lowercases non-Arabic text.You'll need to fully re-index any previously created indexes. This isn't abreak in back-compatibility because ArabicAnalyzer has not yet been@@ -18,20 +18,20 @@ Changes in runtime behaviorAPI Changes- 1. LUCENE-1695: Update the Highlighter to use the new TokenStream API. This issue breaks backwards+ * LUCENE-1695: Update the Highlighter to use the new TokenStream API. This issue breaks backwardscompatibility with some public classes. If you have implemented custom Fragmenters or Scorers,you will need to adjust them to work with the new TokenStream API. Rather than getting passed aToken at a time, you will be given a TokenStream to init your impl with - store the Attributesyou are interested in locally and access them on each call to the method that used to pass a newToken. Look at the included updated impls for examples. (Mark Miller)- 2. LUCENE-1460: Change contrib TokenStreams/Filters to use the new+ * LUCENE-1460: Change contrib TokenStreams/Filters to use the newTokenStream API. (Robert Muir, Michael Busch)- 3. LUCENE-1775: Change remaining TokenFilters (shingle, prefix-suffix) to+ * LUCENE-1775: Change remaining TokenFilters (shingle, prefix-suffix) touse the new TokenStream API. (Robert Muir, Michael Busch)- 4. LUCENE-1685: The position aware SpanScorer has become the default scorer+ * LUCENE-1685: The position aware SpanScorer has become the default scorerfor Highlighting. The SpanScorer implementation has replaced QueryScorerand the old term highlighting QueryScorer has been renamed toQueryTermScorer. Multi-term queries are also now expanded by default. If@@ -40,92 +40,92 @@ API ChangesThe SpanScorer API (now QueryScorer) has also been improved to more closelymatch the API of the previous QueryScorer implementation. (Mark Miller)- 5. LUCENE-1793: Deprecate the custom encoding support in the Greek and Russian+ * LUCENE-1793: Deprecate the custom encoding support in the Greek and RussianAnalyzers. If you need to index text in these encodings, please use Java'scharacter set conversion facilities (InputStreamReader, etc) during I/O,so that Lucene can analyze this text as Unicode instead. (Robert Muir)Bug fixes- 1. LUCENE-1423: InstantiatedTermEnum#skipTo(Term) throws ArrayIndexOutOfBounds on empty index.+ * LUCENE-1423: InstantiatedTermEnum#skipTo(Term) throws ArrayIndexOutOfBounds on empty index.(Karl Wettin)- 2. LUCENE-1462: InstantiatedIndexWriter did not reset pre analyzed TokenStreams the+ * LUCENE-1462: InstantiatedIndexWriter did not reset pre analyzed TokenStreams thesame way IndexWriter does. Parts of InstantiatedIndex was not Serializable.(Karl Wettin)- 3. LUCENE-1510: InstantiatedIndexReader#norms methods throws NullPointerException on empty index.+ * LUCENE-1510: InstantiatedIndexReader#norms methods throws NullPointerException on empty index.(Karl Wettin, Robert Newson)- 4. LUCENE-1514: ShingleMatrixFilter#next(Token) easily throws a StackOverflowException+ * LUCENE-1514: ShingleMatrixFilter#next(Token) easily throws a StackOverflowExceptiondue to recursive invocation. (Karl Wettin)- 5. LUCENE-1548: Fix distance normalization in LevenshteinDistance to+ * LUCENE-1548: Fix distance normalization in LevenshteinDistance tonot produce negative distances (Thomas Morton via Mike McCandless)- 6. LUCENE-1490: Fix latin1 conversion of HALFWIDTH_AND_FULLWIDTH_FORMS+ * LUCENE-1490: Fix latin1 conversion of HALFWIDTH_AND_FULLWIDTH_FORMScharacters to only apply to the correct subset (Daniel Cheng viaMike McCandless)- 7. LUCENE-1576: Fix BrazilianAnalyzer to downcase tokens after+ * LUCENE-1576: Fix BrazilianAnalyzer to downcase tokens afterStandardTokenizer so that stop words with mixed case are filteredout. (Rafael Cunha de Almeida, Douglas Campos via Mike McCandless)- 8. LUCENE-1491: EdgeNGramTokenFilter no longer stops on tokens shorter than minimum n-gram size.+ * LUCENE-1491: EdgeNGramTokenFilter no longer stops on tokens shorter than minimum n-gram size.(Todd Teak via Otis Gospodnetic)- 9. LUCENE-1683: Fixed JavaUtilRegexCapabilities (an impl used by+ * LUCENE-1683: Fixed JavaUtilRegexCapabilities (an impl used byRegexQuery) to use Matcher.matches() not Matcher.lookingAt() sothat the regexp must match the entire string, not just a prefix.(Trejkaz via Mike McCandless)-10. LUCENE-1792: Fix new query parser to set rewrite method for+ * LUCENE-1792: Fix new query parser to set rewrite method formulti-term queries. (Luis Alves, Mike McCandless via Michael Busch)-11. LUCENE-1828: Fix memory index to call TokenStream.reset() and+ * LUCENE-1828: Fix memory index to call TokenStream.reset() andTokenStream.end(). (Tim Smith via Michael Busch)New features- 1. LUCENE-1531: Added support for BoostingTermQuery to XML query parser. (Karl Wettin)+ * LUCENE-1531: Added support for BoostingTermQuery to XML query parser. (Karl Wettin)- 2. LUCENE-1435: Added contrib/collation, a CollationKeyFilter+ * LUCENE-1435: Added contrib/collation, a CollationKeyFilterallowing you to convert tokens into CollationKeys encoded usingIndexableBinaryStringTools. This allows for faster RangeQuery whena field needs to use a custom Collator. (Steven Rowe via MikeMcCandless)- 3. LUCENE-1591: EnWikiDocMaker, LineDocMaker, WriteLineDoc can now+ * LUCENE-1591: EnWikiDocMaker, LineDocMaker, WriteLineDoc can nowread/write bz2 using Apache commons compress library. This meansyou can download the .bz2 export from http://wikipedia.org andimmediately index it. (Shai Erera via Mike McCandless)- 4. LUCENE-1629: Add SmartChineseAnalyzer to contrib/analyzers. It+ * LUCENE-1629: Add SmartChineseAnalyzer to contrib/analyzers. Itimproves on CJKAnalyzer and ChineseAnalyzer by handling Chinesesentences properly. SmartChineseAnalyzer uses a Hidden MarkovModel to tokenize Chinese words in a more intelligent way.(Xiaoping Gao via Mike McCandless)- 5. LUCENE-1676: Added DelimitedPayloadTokenFilter class for automatically adding payloads "in-stream" (Grant Ingersoll)+ * LUCENE-1676: Added DelimitedPayloadTokenFilter class for automatically adding payloads "in-stream" (Grant Ingersoll)- 6. LUCENE-1578: Support for loading unoptimized readers to the+ * LUCENE-1578: Support for loading unoptimized readers to theconstructor of InstantiatedIndex. (Karl Wettin)- 7. LUCENE-1704: Allow specifying the Tidy configuration file when+ * LUCENE-1704: Allow specifying the Tidy configuration file whenparsing HTML docs with contrib/ant. (Keith Sprochi via MikeMcCandless)- 8. LUCENE-1522: Added contrib/fast-vector-highlighter, a new alternative+ * LUCENE-1522: Added contrib/fast-vector-highlighter, a new alternativehighlighter. (Koji Sekiguchi via Mike McCandless)- 9. LUCENE-1740: Added "analyzer" command to Lucli, enabling changing+ * LUCENE-1740: Added "analyzer" command to Lucli, enabling changingthe analyzer from the default StandardAnalyzer. (Bernd Fondermannvia Mike McCandless)-10. LUCENE-1272: Add get/setBoost to MoreLikeThis. (Jonathan+ * LUCENE-1272: Add get/setBoost to MoreLikeThis. (JonathanLeibiusky via Mike McCandless)-11. LUCENE-1745: Added constructors to JakartaRegexpCapabilities and+ * LUCENE-1745: Added constructors to JakartaRegexpCapabilities andJavaUtilRegexCapabilities as well as static flags to supportconfiguring a RegexCapabilities implementation with theimplementation-specific modifier flags. Allows for callers to@@ -133,57 +133,56 @@ New featuresand fine tune how regular expressions are compiled andmatched. (Marc Zampetti [email protected] via Mike McCandless)-12. LUCENE-1567: Added a new QueryParser framework, that allows+ * LUCENE-1567: Added a new QueryParser framework, that allowsimplementing a new query syntax in a flexible and efficient way.This new QueryParser will be moved to Lucene's core in release3.0 and will then replace the current core QueryParser, whichhas been deprecated with this patch.(Luis Alves and Adriano Campos via Michael Busch)-13. LUCENE-1486: Added ComplexPhraseQueryParser, an extension of QueryParser+ * LUCENE-1486: Added ComplexPhraseQueryParser, an extension of QueryParserthat allows a subset of the Lucene query language to be embedded inPhraseQuerys. Wildcard, Range, and Fuzzy queries, as well as limitedboolean logic, can be used within quote operators with this parser, ie:"(jo* -john) smyth~". (Mark Harwood via Mark Miller)-14. Added web-based demo of functionality in contrib's XML Query Parser+ * Added web-based demo of functionality in contrib's XML Query Parserpackaged as War file (Mark Harwood)-15. LUCENE-1406: Added Arabic analyzer. (Robert Muir via Grant Ingersoll)+ * LUCENE-1406: Added Arabic analyzer. (Robert Muir via Grant Ingersoll)-16. LUCENE-1628: Added Persian analyzer. (Robert Muir)+ * LUCENE-1628: Added Persian analyzer. (Robert Muir)-17. LUCENE-1813: Add option to ReverseStringFilter to mark reversed tokens.+ * LUCENE-1813: Add option to ReverseStringFilter to mark reversed tokens.(Andrzej Bialecki via Robert Muir)Optimizations- 1. LUCENE-1643: Re-use the collation key (RawCollationKey) for+ * LUCENE-1643: Re-use the collation key (RawCollationKey) forbetter performance, in ICUCollationKeyFilter. (Robert Muir viaMike McCandless)- 2. LUCENE-1794: Implement TokenStream reuse for contrib Analyzers,+ * LUCENE-1794: Implement TokenStream reuse for contrib Analyzers,and implement reset() for TokenStreams to support reuse. (Robert Muir)Documentation- 1. LUCENE-1876: added missing package level documentation for numerous+ * LUCENE-1876: added missing package level documentation for numerouscontrib packages.(Steven Rowe & Robert Muir)Build-1. LUCENE-1728: Split contrib/analyzers into common and smartcn modules.+ * LUCENE-1728: Split contrib/analyzers into common and smartcn modules.Contrib/analyzers now builds an additional lucene-smartcn Jar file. Allsmartcn classes are not included in the lucene-analyzers JAR file.(Robert Muir via Simon Willnauer)-2. LUCENE-1829: Fix contrib query parser to properly create javacc files.+ * LUCENE-1829: Fix contrib query parser to properly create javacc files.(Jan-Pascal and Luis Alves via Michael Busch)Test Cases- (None)======================= Release 2.4.0 2008-10-06 =======================diff --git a/src/site/changes/changes2html.pl b/src/site/changes/changes2html.plindex 44e07fc4eb6..38a70b9b465 100755--- a/src/site/changes/changes2html.pl+++ b/src/site/changes/changes2html.pl@@ -148,13 +148,13 @@ for (my $line_num = 0 ; $line_num <= $#lines ; ++$line_num) {# List item boundary is another bullet or a blank linemy $line;my $item = $_;- $item =~ s/^(\s*$type\s*)//; # Trim the leading bullet+ $item =~ s/^(\s*\Q$type\E\s*)//; # Trim the leading bulletmy $leading_ws_width = length($1);$item =~ s/\s+$//; # Trim trailing whitespace$item .= "\n";while ($line_num < $#lines- and ($line = $lines[++$line_num]) !~ /^\s*(?:$type|\Z)/) {+ and ($line = $lines[++$line_num]) !~ /^(?:\S|\s*\Q$type\E)/) {$line =~ s/^\s{$leading_ws_width}//; # Trim leading whitespace$line =~ s/\s+$//; # Trim trailing whitespace$item .= "$line\n";@@ -387,7 +387,7 @@ for my $rel (@releases) {$item =~ s:<(?!/?code>):<:gi; # but leave <code> tags intact$item =~ s:(?<!code)>:>:gi; # and add <pre> tags so that$item =~ s:<code>:<code><pre>:gi; # whitespace is preserved in the- $item =~ s:</code>:</pre></code>:gi; # output.+ $item =~ s:\s*</code>:</pre></code>:gi; # output.# Put attributions on their own lines.# Check for trailing parenthesized attribution with no following period.@@ -510,7 +510,7 @@ sub get_list_type {if ($first_list_item_line =~ /^\s{0,2}\d+\.\s+\S+/) {$type = 'numbered';- } elsif ($first_list_item_line =~ /^\s*([-.])\s+\S+/) {+ } elsif ($first_list_item_line =~ /^\s*([-.*])\s+\S+/) {$type = $1;}return $type;