Apache Solr open-source search software
LUCENE-1406 belongs in contrib CHANGES
Mark Robert Millerf0e54e31e6e6
diff --git a/CHANGES.txt b/CHANGES.txtindex cdfdedbf88b..621c0838b2b 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -469,9 +469,7 @@ New featuresIndexReader.getCommitUserData instance and static methods.(Shalin Shekhar Mangar via Mike McCandless)- 3. LUCENE-1406: Added Arabic analyzer. (Robert Muir via Grant Ingersoll)-- 4. LUCENE-1420: Similarity now has a computeNorm method that allows+ 3. 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 *@@ -480,14 +478,14 @@ New featuresoverlapping tokens (tokens with 0 position increment) should becounted in lengthNorm. (Andrzej Bialecki via Mike McCandless)- 5. LUCENE-1424: Moved constant score query rewrite capability into+ 4. LUCENE-1424: Moved constant score query rewrite capability intoMultiTermQuery, allowing TermRangeQuery, PrefixQuery and WildcardQueryto switch betwen constant-score rewriting or BooleanQueryexpansion rewriting via a new setRewriteMethod method.Deprecated ConstantScoreRangeQuery (Mark Miller via MikeMcCandless)- 6. LUCENE-1461: Added FieldCacheRangeFilter, a RangeFilter for+ 5. 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,@@ -499,82 +497,82 @@ New featuressupport collation (Tim Sturge, Matt Ericson via Mike McCandless andUwe Schindler)- 7. LUCENE-1296: add protected method CachingWrapperFilter.docIdSetToCache+ 6. LUCENE-1296: add protected method CachingWrapperFilter.docIdSetToCacheto allow subclasses to choose which DocIdSet implementation to use(Paul Elschot via Mike McCandless)- 8. LUCENE-1390: Added ASCIIFoldingFilter, a Filter that converts+ 7. 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)- 9. LUCENE-1478: Added new SortField constructor allowing you to+ 8. 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)-10. LUCENE-1528: Add support for Ideographic Space to the queryparser.+ 9. LUCENE-1528: Add support for Ideographic Space to the queryparser.(Luis Alves via Michael Busch)-11. LUCENE-1487: Added FieldCacheTermsFilter, to filter by multiple+10. 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).-12. LUCENE-1314: Add clone(), clone(boolean readOnly) and+11. 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)-13. LUCENE-1506: Added FilteredDocIdSet, an abstract class which you+12. 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)-14. LUCENE-1398: Add ReverseStringFilter to contrib/analyzers, a filter+13. LUCENE-1398: Add ReverseStringFilter to contrib/analyzers, a filterto reverse the characters in each token. (Koji Sekiguchi via yonik)-15. LUCENE-1551: Add expert IndexReader.reopen(IndexCommit) to allow+14. 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)-16. LUCENE-1434: Added org.apache.lucene.util.IndexableBinaryStringTools,+15. 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)-17. LUCENE-1543: Allow MatchAllDocsQuery to optionally use norms from+16. LUCENE-1543: Allow MatchAllDocsQuery to optionally use norms froma specific fields to set the score for a document. (Karl Wettinvia Mike McCandless)-18. LUCENE-1586: Add IndexReader.getUniqueTermCount(). (Mike+17. LUCENE-1586: Add IndexReader.getUniqueTermCount(). (MikeMcCandless via Derek)-19. LUCENE-1516: Added "near real-time search" to IndexWriter, via a+18. 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)-20. LUCENE-1603: Added new MultiTermQueryWrapperFilter, to wrap any+19. 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)-21. LUCENE-1605: Added BitVector.subset(). (Jeremy Volkman via Mike+20. LUCENE-1605: Added BitVector.subset(). (Jeremy Volkman via MikeMcCandless)-22. LUCENE-1618: Added FileSwitchDirectory that enables files with+21. 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@@ -582,19 +580,19 @@ New featuresindex files in a RAMDirectory. (Jason Rutherglen via MikeMcCandless)-23. LUCENE-1494: Added FieldMaskingSpanQuery which can be used to+22. LUCENE-1494: Added FieldMaskingSpanQuery which can be used tocross-correlate Spans from different fields.(Paul Cowan and Chris Hostetter)-24. LUCENE-1634: Add calibrateSizeByDeletes to LogMergePolicy, to take+23. LUCENE-1634: Add calibrateSizeByDeletes to LogMergePolicy, to takedeletions into account when considering merges. (Yasuhiro Matsudavia Mike McCandless)-25. LUCENE-1550: Added new n-gram based String distance measure for spell checking.+24. 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)-26. LUCENE-1470, LUCENE-1582, LUCENE-1602, LUCENE-1673, LUCENE-1701, LUCENE-1712:+25. 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@@ -606,24 +604,24 @@ New featuresand loaded into the FieldCache. (Uwe Schindler, Yonik Seeley,Mike McCandless)-27. LUCENE-1405: Added support for Ant resource collections in contrib/ant+26. LUCENE-1405: Added support for Ant resource collections in contrib/ant<index> task. (Przemyslaw Sztoch via Erik Hatcher)-28. LUCENE-1699: Allow setting a TokenStream on Field/Fieldable for indexing+27. 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)-29. LUCENE-1701: Made the standard FieldCache.Parsers public and added+28. 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)-30. LUCENE-1741: User configureable maximum chunk size in MMapDirectory.+29. LUCENE-1741: User configureable 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)-31. LUCENE-1644: Enable 4 rewrite modes for queries deriving from+30. 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;@@ -633,19 +631,19 @@ New featuresCONSTANT_SCORE_AUTO_REWRITE tries to pick the most performantconstant-score rewrite method. (Mike McCandless)-32. LUCENE-1448: Added TokenStream.end(), to perform end-of-stream+31. 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)-34. LUCENE-1567: Added a new QueryParser framework to contrib, that+32. LUCENE-1567: Added a new QueryParser framework to contrib, thatallows implementing a new query syntax in a flexible and efficientway. 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)-35. LUCENE-1776: Add an option to not collect payloads for an ordered+33. 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 candiff --git a/contrib/CHANGES.txt b/contrib/CHANGES.txtindex 68ea42427d9..2d67273ad0d 100644--- a/contrib/CHANGES.txt+++ b/contrib/CHANGES.txt@@ -134,6 +134,8 @@ New features14. 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)+Optimizations