2008-08-23 13:12:57 -04:00
|
|
|
Lucene contrib change Log
|
|
|
|
|
2009-11-17 16:50:15 -05:00
|
|
|
======================= Trunk (not yet released) =======================
|
2009-11-16 09:03:05 -05:00
|
|
|
|
2009-12-09 08:32:32 -05:00
|
|
|
Changes in backwards compatibility policy
|
|
|
|
|
|
|
|
* LUCENE-2100: All Analyzers in Lucene-contrib have been marked as final.
|
|
|
|
Analyzers should be only act as a composition of TokenStreams, users should
|
|
|
|
compose their own analyzers instead of subclassing existing ones.
|
|
|
|
(Simon Willnauer)
|
|
|
|
|
2010-01-13 17:29:21 -05:00
|
|
|
* LUCENE-2194, LUCENE-2201: Snowball APIs were upgraded to snowball revision
|
|
|
|
502 (with some local modifications for improved performance).
|
|
|
|
Index backwards compatibility and binary backwards compatibility is
|
|
|
|
preserved, but some protected/public member variables changed type. This
|
|
|
|
does NOT affect java code/class files produced by the snowball compiler,
|
|
|
|
but technically is a backwards compatibility break. (Robert Muir)
|
2010-01-20 21:45:09 -05:00
|
|
|
|
|
|
|
* LUCENE-2226: Moved contrib/snowball functionality into contrib/analyzers.
|
|
|
|
Be sure to remove any old obselete lucene-snowball jar files from your
|
|
|
|
classpath! (Robert Muir)
|
2010-01-13 17:29:21 -05:00
|
|
|
|
2009-12-09 07:47:37 -05:00
|
|
|
Changes in runtime behavior
|
|
|
|
|
2009-12-09 08:32:32 -05:00
|
|
|
* LUCENE-2117: SnowballAnalyzer uses TurkishLowerCaseFilter instead of
|
|
|
|
LowercaseFilter to correctly handle the unique Turkish casing behavior if
|
|
|
|
used with Version > 3.0 and the TurkishStemmer.
|
|
|
|
(Robert Muir via Simon Willnauer)
|
2009-12-09 07:47:37 -05:00
|
|
|
|
2010-02-05 18:05:46 -05:00
|
|
|
* LUCENE-2055: GermanAnalyzer now uses the Snowball German2 algorithm and
|
|
|
|
stopwords list by default for Version > 3.0.
|
|
|
|
(Robert Muir, Uwe Schindler, Simon Willnauer)
|
|
|
|
|
2009-11-22 16:09:42 -05:00
|
|
|
Bug fixes
|
|
|
|
|
2010-01-10 13:06:19 -05:00
|
|
|
* LUCENE-2199: ShingleFilter skipped over tri-gram shingles if outputUnigram
|
|
|
|
was set to false. (Simon Willnauer)
|
|
|
|
|
2009-11-22 16:09:42 -05:00
|
|
|
* LUCENE-2068: Fixed ReverseStringFilter which was not aware of supplementary
|
|
|
|
characters. During reverse the filter created unpaired surrogates, which
|
|
|
|
will be replaced by U+FFFD by the indexer, but not at query time. The filter
|
|
|
|
now reverses supplementary characters correctly if used with Version > 3.0.
|
|
|
|
(Simon Willnauer, Robert Muir)
|
2009-12-10 16:38:07 -05:00
|
|
|
|
|
|
|
* LUCENE-2144: Fix InstantiatedIndex to handle termDocs(null)
|
|
|
|
correctly (enumerate all non-deleted docs). (Karl Wettin via Mike
|
|
|
|
McCandless)
|
2009-11-22 16:09:42 -05:00
|
|
|
|
2010-01-06 14:08:36 -05:00
|
|
|
* LUCENE-2035: TokenSources.getTokenStream() does not assign positionIncrement.
|
|
|
|
(Christopher Morris via Mark Miller)
|
2010-01-15 11:14:24 -05:00
|
|
|
|
|
|
|
* LUCENE-2211: Fix missing clearAttributes() calls in contrib:
|
|
|
|
ShingleMatrix, PrefixAware, compounds, NGramTokenFilter,
|
|
|
|
EdgeNGramTokenFilter, Highlighter, and MemoryIndex.
|
|
|
|
(Uwe Schindler, Robert Muir)
|
2010-01-17 14:25:57 -05:00
|
|
|
|
|
|
|
* LUCENE-2207, LUCENE-2219: Fix incorrect offset calculations in end() for
|
|
|
|
CJKTokenizer, ChineseTokenizer, SmartChinese SentenceTokenizer,
|
|
|
|
and WikipediaTokenizer. (Koji Sekiguchi, Robert Muir)
|
2010-02-05 18:05:46 -05:00
|
|
|
|
|
|
|
* LUCENE-2055: Deprecated RussianTokenizer, RussianStemmer, RussianStemFilter,
|
|
|
|
FrenchStemmer, FrenchStemFilter, DutchStemmer, and DutchStemFilter. For
|
|
|
|
these Analyzers, SnowballFilter is used instead (for Version > 3.0), as
|
|
|
|
the previous code did not always implement the Snowball algorithm correctly.
|
|
|
|
Additionally, for Version > 3.0, the Snowball stopword lists are used by
|
|
|
|
default. (Robert Muir, Uwe Schindler, Simon Willnauer)
|
2010-01-06 14:08:36 -05:00
|
|
|
|
2009-12-03 15:35:19 -05:00
|
|
|
API Changes
|
|
|
|
|
|
|
|
* LUCENE-2108: Add SpellChecker.close, to close the underlying
|
|
|
|
reader. (Eirik Bjørsnøs via Mike McCandless)
|
2010-01-05 17:03:48 -05:00
|
|
|
|
|
|
|
* LUCENE-2147: Spatial GeoHashUtils now always decode GeoHash strings
|
|
|
|
with full precision. GeoHash#decode_exactly(String) was merged into
|
|
|
|
GeoHash#decode(String). (Chris Male, Simon Willnauer)
|
|
|
|
|
2009-12-16 07:13:36 -05:00
|
|
|
* LUCENE-2165: Add a constructor to SnowballAnalyzer that takes a Set of
|
|
|
|
stopwords, and deprecate the String[] one. (Nick Burch via Robert Muir)
|
2010-01-12 08:53:32 -05:00
|
|
|
|
|
|
|
* LUCENE-2204: Change some package private classes/members to publicly accessible to implement
|
|
|
|
custom FragmentsBuilders. (Koji Sekiguchi)
|
2010-02-05 18:05:46 -05:00
|
|
|
|
|
|
|
* LUCENE-2055: Integrate snowball into contrib/analyzers. SnowballAnalyzer is
|
|
|
|
now deprecated in favor of language-specific analyzers which contain things
|
|
|
|
such as stopword lists and any language-specific processing in addition to
|
|
|
|
stemming. Add Turkish and Romanian stopwords lists to support this.
|
|
|
|
(Robert Muir, Uwe Schindler, Simon Willnauer)
|
2009-12-16 07:13:36 -05:00
|
|
|
|
2009-11-29 06:59:38 -05:00
|
|
|
New features
|
2009-12-05 07:46:05 -05:00
|
|
|
|
|
|
|
* LUCENE-2102: Add a Turkish LowerCase Filter. TurkishLowerCaseFilter handles
|
|
|
|
Turkish and Azeri unique casing behavior correctly.
|
|
|
|
(Ahmet Arslan, Robert Muir via Simon Willnauer)
|
2009-12-05 07:29:59 -05:00
|
|
|
|
|
|
|
* LUCENE-2039: Add a extensible query parser to contrib/misc.
|
|
|
|
ExtendableQueryParser enables arbitrary parser extensions based on a
|
|
|
|
customizable field naming scheme.
|
|
|
|
(Simon Willnauer)
|
2009-11-29 06:59:38 -05:00
|
|
|
|
2009-12-05 07:17:17 -05:00
|
|
|
* LUCENE-2108: Spellchecker now safely supports concurrent modifications to
|
|
|
|
the spell-index. Threads can safely obtain term suggestions while the spell-
|
|
|
|
index is rebuild, cleared or reset. Internal IndexSearcher instances remain
|
|
|
|
open until the last thread accessing them releases the reference.
|
|
|
|
(Simon Willnauer)
|
|
|
|
|
2009-11-29 06:59:38 -05:00
|
|
|
* LUCENE-2067: Add a Czech light stemmer. CzechAnalyzer will now stem words
|
|
|
|
when Version is set to 3.1 or higher. (Robert Muir)
|
|
|
|
|
2009-12-02 11:08:56 -05:00
|
|
|
* LUCENE-2062: Add a Bulgarian analyzer. (Robert Muir, Simon Willnauer)
|
2009-11-22 16:09:42 -05:00
|
|
|
|
2010-01-16 09:07:35 -05:00
|
|
|
* LUCENE-2206: Add Snowball's stopword lists for Danish, Dutch, English,
|
|
|
|
Finnish, French, German, Hungarian, Italian, Norwegian, Russian, Spanish,
|
|
|
|
and Swedish. These can be loaded with WordListLoader.getSnowballWordSet.
|
|
|
|
(Robert Muir, Simon Willnauer)
|
|
|
|
|
2010-01-30 08:13:13 -05:00
|
|
|
* LUCENE-2243: Add DisjunctionMaxQuery support for FastVectorHighlighter.
|
|
|
|
(Koji Sekiguchi)
|
|
|
|
|
2010-01-31 09:04:01 -05:00
|
|
|
* LUCENE-2218: ShingleFilter supports minimum shingle size, and the separator
|
|
|
|
character is now configurable. Its also up to 20% faster.
|
|
|
|
(Steven Rowe via Robert Muir)
|
|
|
|
|
2010-02-04 07:41:56 -05:00
|
|
|
* LUCENE-2234: Add a Hindi analyzer. (Robert Muir)
|
|
|
|
|
2010-02-05 18:05:46 -05:00
|
|
|
* LUCENE-2055: Add analyzers/misc/StemmerOverrideFilter. This filter provides
|
|
|
|
the ability to override any stemmer with a custom dictionary map.
|
|
|
|
(Robert Muir, Uwe Schindler, Simon Willnauer)
|
|
|
|
|
2009-12-09 07:08:06 -05:00
|
|
|
Build
|
|
|
|
|
|
|
|
* LUCENE-2124: Moved the JDK-based collation support from contrib/collation
|
|
|
|
into core, and moved the ICU-based collation support into contrib/icu.
|
2009-12-21 04:50:58 -05:00
|
|
|
(Steven Rowe, Robert Muir)
|
2010-01-20 21:45:09 -05:00
|
|
|
|
2009-12-15 08:27:27 -05:00
|
|
|
Optimizations
|
|
|
|
|
|
|
|
* LUCENE-2157: DelimitedPayloadTokenFilter no longer copies the buffer
|
|
|
|
over itsself. Instead it sets only the length. This patch also optimizes
|
|
|
|
the logic of the filter and uses NIO for IdentityEncoder. (Uwe Schindler)
|
2010-01-03 04:22:40 -05:00
|
|
|
|
|
|
|
* LUCENE-2084: Change IndexableBinaryStringTools to work on byte[] and char[]
|
|
|
|
directly, instead of Byte/CharBuffers, and modify ICUCollationKeyFilter to
|
|
|
|
take advantage of this for faster performance.
|
|
|
|
(Steven Rowe, Uwe Schindler, Robert Muir)
|
2009-12-15 08:27:27 -05:00
|
|
|
|
2009-12-05 04:43:54 -05:00
|
|
|
Test Cases
|
|
|
|
|
|
|
|
* LUCENE-2115: Cutover contrib tests to use Java5 generics. (Kay Kay
|
|
|
|
via Mike McCandless)
|
|
|
|
|
2010-01-17 10:14:06 -05:00
|
|
|
Other
|
|
|
|
|
|
|
|
* LUCENE-1845: Updated bdb-je jar from version 3.3.69 to 3.3.93.
|
|
|
|
(Simon Willnauer via Mike McCandless)
|
|
|
|
|
2009-11-17 16:50:15 -05:00
|
|
|
======================= Release 3.0.0 2009-11-25 =======================
|
2009-09-24 17:36:11 -04:00
|
|
|
|
2009-10-03 19:10:27 -04:00
|
|
|
Changes in backwards compatibility policy
|
|
|
|
|
|
|
|
* LUCENE-1257: Change some occurences of StringBuffer in public/protected
|
|
|
|
APIs of contrib/surround to StringBuilder.
|
|
|
|
(Paul Elschot via Uwe Schindler)
|
|
|
|
|
2009-09-24 17:36:11 -04:00
|
|
|
Changes in runtime behavior
|
|
|
|
|
2009-10-14 08:24:18 -04:00
|
|
|
* LUCENE-1966: Modified and cleaned the default Arabic stopwords list used
|
|
|
|
by ArabicAnalyzer. You'll need to fully re-index any previously created
|
|
|
|
indexes. (Basem Narmok via Robert Muir)
|
|
|
|
|
2009-09-24 17:36:11 -04:00
|
|
|
API Changes
|
|
|
|
|
2009-10-01 15:20:09 -04:00
|
|
|
* LUCENE-1936: Deprecated RussianLowerCaseFilter, because it transforms
|
|
|
|
text exactly the same as LowerCaseFilter. Please use LowerCaseFilter
|
|
|
|
instead, which has the same functionality. (Robert Muir)
|
|
|
|
|
2009-11-16 06:48:37 -05:00
|
|
|
* LUCENE-2051: Contrib Analyzer setters were deprecated and replaced
|
|
|
|
with ctor arguments / Version number. Also stop word lists
|
|
|
|
were unified. (Simon Willnauer)
|
|
|
|
|
2009-09-24 17:36:11 -04:00
|
|
|
Bug fixes
|
|
|
|
|
|
|
|
* LUCENE-1781: Fixed various issues with the lat/lng bounding box
|
|
|
|
distance filter created for radius search in contrib/spatial.
|
|
|
|
(Bill Bell via Mike McCandless)
|
|
|
|
|
2009-10-05 12:01:17 -04:00
|
|
|
* LUCENE-1939: IndexOutOfBoundsException at ShingleMatrixFilter's
|
|
|
|
Iterator#hasNext method on exhausted streams.
|
|
|
|
(Patrick Jungermann via Karl Wettin)
|
|
|
|
|
2009-10-22 00:03:12 -04:00
|
|
|
* LUCENE-1359: French analyzer did not support null field names.
|
|
|
|
(Andrew Lynch via Robert Muir)
|
2009-10-23 13:13:21 -04:00
|
|
|
|
2009-09-24 17:36:11 -04:00
|
|
|
New features
|
|
|
|
|
2009-10-01 08:23:03 -04:00
|
|
|
* LUCENE-1924: Added BalancedSegmentMergePolicy to contrib/misc,
|
|
|
|
which is a merge policy that tries to avoid doing very large
|
|
|
|
segment merges to give better search performance in a mixed
|
|
|
|
indexing/searching environment. (John Wang via Mike McCandless)
|
|
|
|
|
2009-10-13 10:54:30 -04:00
|
|
|
* LUCENE-1959: Add index splitting tools. The IndexSplitter tool works
|
|
|
|
on multi-segment (non optimized) indexes and it can copy specific
|
|
|
|
segments out of the index into a new index. It can also list the
|
|
|
|
segments in the index, and delete specified segments. (Jason Rutherglen via
|
|
|
|
Mike McCandless). MultiPassIndexSplitter can split any index into
|
|
|
|
any number of output parts, at the cost of doing multiple passes over
|
|
|
|
the input index. (Andrzej Bialecki)
|
2009-10-08 08:50:19 -04:00
|
|
|
|
2009-10-20 07:59:53 -04:00
|
|
|
* LUCENE-1993: Add maxDocFreq setting to MoreLikeThis, to exclude
|
|
|
|
from consideration terms that match more than the specified number
|
|
|
|
of documents. (Christian Steinert via Mike McCandless)
|
|
|
|
|
2009-09-24 17:36:11 -04:00
|
|
|
Optimizations
|
|
|
|
|
2009-10-08 15:48:28 -04:00
|
|
|
* LUCENE-1965, LUCENE-1962: Arabic-, Persian- and SmartChineseAnalyzer
|
|
|
|
loads default stopwords only once if accessed for the first time.
|
2009-10-08 15:49:19 -04:00
|
|
|
Previous versions were loading the stopword files each time a new
|
2009-10-08 15:48:28 -04:00
|
|
|
instance was created. This might improve performance for applications
|
|
|
|
creating lots of instances of these Analyzers. (Simon Willnauer)
|
2009-11-16 06:48:37 -05:00
|
|
|
|
2009-09-24 17:36:11 -04:00
|
|
|
Documentation
|
|
|
|
|
2009-10-03 10:24:45 -04:00
|
|
|
* LUCENE-1916: Translated documentation in the smartcn hhmm package.
|
|
|
|
(Patricia Peng via Robert Muir)
|
|
|
|
|
2009-09-24 17:36:11 -04:00
|
|
|
Build
|
|
|
|
|
2009-10-28 13:49:53 -04:00
|
|
|
* LUCENE-1904: Moved wordnet-based synonym support from contrib/memory
|
|
|
|
into contrib/wordnet. (Robert Muir)
|
2009-11-04 17:37:01 -05:00
|
|
|
|
|
|
|
* LUCENE-2031: Moved PatternAnalyzer from contrib/memory into
|
|
|
|
contrib/analyzers/common, under miscellaneous. (Robert Muir)
|
|
|
|
|
2009-11-06 12:10:22 -05:00
|
|
|
======================= Release 2.9.1 2009-11-06 =======================
|
|
|
|
|
|
|
|
Changes in backwards compatibility policy
|
|
|
|
|
|
|
|
* LUCENE-2002: Add required Version matchVersion argument when
|
|
|
|
constructing ComplexPhraseQueryParser and default (as of 2.9)
|
|
|
|
enablePositionIncrements to true to match StandardAnalyzer's
|
|
|
|
default. Also added required matchVersion to most of the analyzers
|
|
|
|
(Uwe Schindler, Mike McCandless)
|
|
|
|
|
|
|
|
Changes in runtime behavior
|
|
|
|
|
|
|
|
* LUCENE-1963: ArabicAnalyzer now lowercases before checking the stopword
|
|
|
|
list. This has no effect on Arabic text, but if you are using a custom
|
|
|
|
stopword list that contains some non-Arabic words, you'll need to fully
|
|
|
|
reindex. (DM Smith via Robert Muir)
|
|
|
|
|
|
|
|
Bug fixes
|
|
|
|
|
|
|
|
* LUCENE-1953: FastVectorHighlighter: small fragCharSize can cause
|
|
|
|
StringIndexOutOfBoundsException. (Koji Sekiguchi)
|
|
|
|
|
|
|
|
* LUCENE-1929: Highlighter throws exception on NumericRangeQuery and does not
|
|
|
|
support deprecated RangeQuery. (Mark Miller)
|
|
|
|
|
|
|
|
* LUCENE-2001: Wordnet Syns2Index incorrectly parses synonyms that
|
|
|
|
contain a single quote. (Parag H. Dave via Robert Muir)
|
|
|
|
|
|
|
|
* LUCENE-2003: Highlighter doesn't respect position increments other than 1 with
|
|
|
|
PhraseQuerys. (Uwe Schindler, Mark Miller)
|
|
|
|
|
|
|
|
* LUCENE-1954: InstantiatedIndexWriter: Fixed ClassCastException with
|
|
|
|
NumericField because of incorrect unchecked cast: Document.getFields()
|
|
|
|
returns List<Fieldable>. (Bernd Fondermann via Uwe Schindler)
|
|
|
|
|
|
|
|
* LUCENE-2014: SmartChineseAnalyzer did not properly clear attributes
|
|
|
|
in WordTokenFilter. If enablePositionIncrements is set for StopFilter,
|
|
|
|
then this could create invalid position increments, causing IndexWriter
|
|
|
|
to crash. (Robert Muir, Uwe Schindler)
|
|
|
|
|
|
|
|
* LUCENE-2013: SpanRegexQuery does not work with QueryScorer.
|
|
|
|
(Benjamin Keil via Mark Miller)
|
|
|
|
|
2009-09-21 10:23:44 -04:00
|
|
|
======================= Release 2.9.0 2009-09-23 =======================
|
2008-08-23 13:12:57 -04:00
|
|
|
|
2008-10-18 12:29:53 -04:00
|
|
|
Changes in runtime behavior
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1505: Local lucene now uses org.apache.lucene.util.NumericUtils for all
|
2009-07-16 11:38:06 -04:00
|
|
|
number 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 yet
|
|
|
|
been released. (Mike McCandless)
|
2009-08-05 14:22:22 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1758: ArabicAnalyzer now uses the light10 algorithm, has a refined
|
2009-08-05 14:22:22 -04:00
|
|
|
default stopword list, and lowercases non-Arabic text.
|
|
|
|
You'll need to fully re-index any previously created indexes. This isn't a
|
|
|
|
break in back-compatibility because ArabicAnalyzer has not yet been
|
|
|
|
released. (Robert Muir)
|
2008-10-18 12:29:53 -04:00
|
|
|
|
2009-08-04 10:33:58 -04:00
|
|
|
|
2008-10-18 12:29:53 -04:00
|
|
|
API Changes
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1695: Update the Highlighter to use the new TokenStream API. This issue breaks backwards
|
2009-09-02 11:23:58 -04:00
|
|
|
compatibility with some public classes. If you have implemented custom Fragmenters or Scorers,
|
2009-07-30 18:00:47 -04:00
|
|
|
you will need to adjust them to work with the new TokenStream API. Rather than getting passed a
|
|
|
|
Token at a time, you will be given a TokenStream to init your impl with - store the Attributes
|
|
|
|
you are interested in locally and access them on each call to the method that used to pass a new
|
|
|
|
Token. Look at the included updated impls for examples. (Mark Miller)
|
2008-10-18 12:29:53 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1460: Change contrib TokenStreams/Filters to use the new
|
2009-08-03 00:33:10 -04:00
|
|
|
TokenStream API. (Robert Muir, Michael Busch)
|
|
|
|
|
2009-09-09 02:02:54 -04:00
|
|
|
* LUCENE-1775, LUCENE-1903: Change remaining TokenFilters (shingle, prefix-suffix)
|
|
|
|
to use the new TokenStream API. ShingleFilter is much more efficient now,
|
|
|
|
it clones much less often and computes the tokens mostly on the fly now.
|
2009-09-09 02:05:46 -04:00
|
|
|
Also added more tests. (Robert Muir, Michael Busch, Uwe Schindler, Chris Harris)
|
2009-08-04 10:33:58 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1685: The position aware SpanScorer has become the default scorer
|
2009-08-04 10:33:58 -04:00
|
|
|
for Highlighting. The SpanScorer implementation has replaced QueryScorer
|
|
|
|
and the old term highlighting QueryScorer has been renamed to
|
|
|
|
QueryTermScorer. Multi-term queries are also now expanded by default. If
|
2009-09-02 11:23:58 -04:00
|
|
|
you were previously rewriting the query for multi-term query highlighting,
|
2009-08-04 10:33:58 -04:00
|
|
|
you should no longer do that (unless you switch to using QueryTermScorer).
|
|
|
|
The SpanScorer API (now QueryScorer) has also been improved to more closely
|
|
|
|
match the API of the previous QueryScorer implementation. (Mark Miller)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1793: Deprecate the custom encoding support in the Greek and Russian
|
2009-08-22 16:36:06 -04:00
|
|
|
Analyzers. If you need to index text in these encodings, please use Java's
|
|
|
|
character set conversion facilities (InputStreamReader, etc) during I/O,
|
|
|
|
so that Lucene can analyze this text as Unicode instead. (Robert Muir)
|
2009-08-03 00:33:10 -04:00
|
|
|
|
2008-10-18 12:29:53 -04:00
|
|
|
Bug fixes
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1423: InstantiatedTermEnum#skipTo(Term) throws ArrayIndexOutOfBounds on empty index.
|
2008-10-18 12:29:53 -04:00
|
|
|
(Karl Wettin)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1462: InstantiatedIndexWriter did not reset pre analyzed TokenStreams the
|
2008-12-11 17:08:45 -05:00
|
|
|
same way IndexWriter does. Parts of InstantiatedIndex was not Serializable.
|
|
|
|
(Karl Wettin)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1510: InstantiatedIndexReader#norms methods throws NullPointerException on empty index.
|
2009-01-08 04:28:42 -05:00
|
|
|
(Karl Wettin, Robert Newson)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1514: ShingleMatrixFilter#next(Token) easily throws a StackOverflowException
|
2009-01-09 10:34:52 -05:00
|
|
|
due to recursive invocation. (Karl Wettin)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1548: Fix distance normalization in LevenshteinDistance to
|
2009-02-27 09:07:12 -05:00
|
|
|
not produce negative distances (Thomas Morton via Mike McCandless)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1490: Fix latin1 conversion of HALFWIDTH_AND_FULLWIDTH_FORMS
|
2009-03-18 17:42:17 -04:00
|
|
|
characters to only apply to the correct subset (Daniel Cheng via
|
|
|
|
Mike McCandless)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1576: Fix BrazilianAnalyzer to downcase tokens after
|
2009-03-27 15:04:25 -04:00
|
|
|
StandardTokenizer so that stop words with mixed case are filtered
|
|
|
|
out. (Rafael Cunha de Almeida, Douglas Campos via Mike McCandless)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1491: EdgeNGramTokenFilter no longer stops on tokens shorter than minimum n-gram size.
|
2009-07-14 15:44:52 -04:00
|
|
|
(Todd Teak via Otis Gospodnetic)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1683: Fixed JavaUtilRegexCapabilities (an impl used by
|
2009-07-31 14:02:56 -04:00
|
|
|
RegexQuery) to use Matcher.matches() not Matcher.lookingAt() so
|
|
|
|
that the regexp must match the entire string, not just a prefix.
|
|
|
|
(Trejkaz via Mike McCandless)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1792: Fix new query parser to set rewrite method for
|
2009-08-18 20:09:41 -04:00
|
|
|
multi-term queries. (Luis Alves, Mike McCandless via Michael Busch)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1828: Fix memory index to call TokenStream.reset() and
|
2009-08-21 04:02:40 -04:00
|
|
|
TokenStream.end(). (Tim Smith via Michael Busch)
|
2009-08-04 10:33:58 -04:00
|
|
|
|
2009-09-17 07:41:30 -04:00
|
|
|
* LUCENE-1912: Fix fast-vector-highlighter issue when two or more
|
|
|
|
terms are concatenated (Koji Sekiguchi via Mike McCandless)
|
|
|
|
|
2008-10-18 12:29:53 -04:00
|
|
|
New features
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1531: Added support for BoostingTermQuery to XML query parser. (Karl Wettin)
|
2008-10-18 12:29:53 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1435: Added contrib/collation, a CollationKeyFilter
|
2009-09-02 11:23:58 -04:00
|
|
|
allowing you to convert tokens into CollationKeys encoded using
|
|
|
|
IndexableBinaryStringTools. This allows for faster RangeQuery when
|
2009-03-19 06:51:55 -04:00
|
|
|
a field needs to use a custom Collator. (Steven Rowe via Mike
|
|
|
|
McCandless)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1591: EnWikiDocMaker, LineDocMaker, WriteLineDoc can now
|
2009-04-16 05:46:30 -04:00
|
|
|
read/write bz2 using Apache commons compress library. This means
|
|
|
|
you can download the .bz2 export from http://wikipedia.org and
|
|
|
|
immediately index it. (Shai Erera via Mike McCandless)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1629: Add SmartChineseAnalyzer to contrib/analyzers. It
|
2009-05-14 06:50:52 -04:00
|
|
|
improves on CJKAnalyzer and ChineseAnalyzer by handling Chinese
|
|
|
|
sentences properly. SmartChineseAnalyzer uses a Hidden Markov
|
|
|
|
Model to tokenize Chinese words in a more intelligent way.
|
|
|
|
(Xiaoping Gao via Mike McCandless)
|
2009-06-12 18:26:01 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1676: Added DelimitedPayloadTokenFilter class for automatically adding payloads "in-stream" (Grant Ingersoll)
|
2009-06-13 17:54:07 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1578: Support for loading unoptimized readers to the
|
2009-06-13 17:54:07 -04:00
|
|
|
constructor of InstantiatedIndex. (Karl Wettin)
|
2009-07-06 15:55:05 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1704: Allow specifying the Tidy configuration file when
|
2009-07-06 15:55:05 -04:00
|
|
|
parsing HTML docs with contrib/ant. (Keith Sprochi via Mike
|
|
|
|
McCandless)
|
2009-07-09 09:06:51 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1522: Added contrib/fast-vector-highlighter, a new alternative
|
2009-07-09 09:06:51 -04:00
|
|
|
highlighter. (Koji Sekiguchi via Mike McCandless)
|
2009-07-13 06:06:01 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1740: Added "analyzer" command to Lucli, enabling changing
|
2009-07-13 06:06:01 -04:00
|
|
|
the analyzer from the default StandardAnalyzer. (Bernd Fondermann
|
|
|
|
via Mike McCandless)
|
2009-07-14 12:56:16 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1272: Add get/setBoost to MoreLikeThis. (Jonathan
|
2009-07-14 12:56:16 -04:00
|
|
|
Leibiusky via Mike McCandless)
|
2009-06-13 17:54:07 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1745: Added constructors to JakartaRegexpCapabilities and
|
2009-07-31 13:41:04 -04:00
|
|
|
JavaUtilRegexCapabilities as well as static flags to support
|
|
|
|
configuring a RegexCapabilities implementation with the
|
|
|
|
implementation-specific modifier flags. Allows for callers to
|
|
|
|
customize the RegexQuery using the implementation-specific options
|
|
|
|
and fine tune how regular expressions are compiled and
|
|
|
|
matched. (Marc Zampetti zampettim@aim.com via Mike McCandless)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1567: Added a new QueryParser framework, that allows
|
2009-08-02 23:38:44 -04:00
|
|
|
implementing a new query syntax in a flexible and efficient way.
|
|
|
|
This new QueryParser will be moved to Lucene's core in release
|
|
|
|
3.0 and will then replace the current core QueryParser, which
|
|
|
|
has been deprecated with this patch.
|
|
|
|
(Luis Alves and Adriano Campos via Michael Busch)
|
2009-08-03 00:06:22 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1486: Added ComplexPhraseQueryParser, an extension of QueryParser
|
2009-08-03 00:06:22 -04:00
|
|
|
that allows a subset of the Lucene query language to be embedded in
|
|
|
|
PhraseQuerys. Wildcard, Range, and Fuzzy queries, as well as limited
|
|
|
|
boolean logic, can be used within quote operators with this parser, ie:
|
|
|
|
"(jo* -john) smyth~". (Mark Harwood via Mark Miller)
|
2009-08-03 22:57:00 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* Added web-based demo of functionality in contrib's XML Query Parser
|
2009-08-04 09:56:11 -04:00
|
|
|
packaged as War file (Mark Harwood)
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1406: Added Arabic analyzer. (Robert Muir via Grant Ingersoll)
|
2009-08-04 11:05:34 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1628: Added Persian analyzer. (Robert Muir)
|
2009-08-02 23:38:44 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1813: Add option to ReverseStringFilter to mark reversed tokens.
|
2009-08-19 08:07:15 -04:00
|
|
|
(Andrzej Bialecki via Robert Muir)
|
|
|
|
|
2009-05-19 05:50:24 -04:00
|
|
|
Optimizations
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1643: Re-use the collation key (RawCollationKey) for
|
2009-05-19 05:50:24 -04:00
|
|
|
better performance, in ICUCollationKeyFilter. (Robert Muir via
|
|
|
|
Mike McCandless)
|
2009-02-09 06:49:33 -05:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1794: Implement TokenStream reuse for contrib Analyzers,
|
2009-08-16 08:37:05 -04:00
|
|
|
and implement reset() for TokenStreams to support reuse. (Robert Muir)
|
|
|
|
|
2008-10-18 12:29:53 -04:00
|
|
|
Documentation
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1876: added missing package level documentation for numerous
|
2009-09-03 14:51:48 -04:00
|
|
|
contrib packages.
|
|
|
|
(Steven Rowe & Robert Muir)
|
2008-10-18 12:29:53 -04:00
|
|
|
|
|
|
|
Build
|
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1728: Split contrib/analyzers into common and smartcn modules.
|
2009-09-02 11:23:58 -04:00
|
|
|
Contrib/analyzers now builds an additional lucene-smartcn Jar file. All
|
2009-08-21 08:59:07 -04:00
|
|
|
smartcn classes are not included in the lucene-analyzers JAR file.
|
2009-09-02 11:23:58 -04:00
|
|
|
(Robert Muir via Simon Willnauer)
|
2009-08-21 19:19:26 -04:00
|
|
|
|
2009-09-08 09:07:07 -04:00
|
|
|
* LUCENE-1829: Fix contrib query parser to properly create javacc files.
|
2009-08-21 19:19:26 -04:00
|
|
|
(Jan-Pascal and Luis Alves via Michael Busch)
|
2008-10-18 12:29:53 -04:00
|
|
|
|
|
|
|
Test Cases
|
|
|
|
|
|
|
|
|
2008-10-01 07:22:58 -04:00
|
|
|
======================= Release 2.4.0 2008-10-06 =======================
|
|
|
|
|
2008-08-23 13:12:57 -04:00
|
|
|
Changes in runtime behavior
|
|
|
|
|
|
|
|
(None)
|
|
|
|
|
|
|
|
API Changes
|
|
|
|
|
2008-08-23 18:02:47 -04:00
|
|
|
1.
|
|
|
|
|
2008-08-23 13:12:57 -04:00
|
|
|
(None)
|
|
|
|
|
|
|
|
Bug fixes
|
|
|
|
|
|
|
|
1. LUCENE-1312: Added full support for InstantiatedIndexReader#getFieldNames()
|
|
|
|
and tests that assert that deleted documents behaves as they should (they did).
|
|
|
|
(Jason Rutherglen, Karl Wettin)
|
|
|
|
|
|
|
|
2. LUCENE-1318: InstantiatedIndexReader.norms(String, b[], int) didn't treat
|
|
|
|
the array offset right. (Jason Rutherglen via Karl Wettin)
|
|
|
|
|
|
|
|
New features
|
|
|
|
|
|
|
|
1. LUCENE-1320: ShingleMatrixFilter, multidimensional shingle token filter. (Karl Wettin)
|
|
|
|
|
2008-08-23 18:02:47 -04:00
|
|
|
2. LUCENE-1142: Updated Snowball package, org.tartarus distribution revision 500.
|
|
|
|
Introducing Hungarian, Turkish and Romanian support, updated older stemmers
|
|
|
|
and optimized (reflectionless) SnowballFilter.
|
|
|
|
IMPORTANT NOTICE ON BACKWARDS COMPATIBILITY: an index created using the 2.3.2 (or older)
|
|
|
|
might not be compatible with these updated classes as some algorithms have changed.
|
|
|
|
(Karl Wettin)
|
|
|
|
|
2008-08-25 11:02:20 -04:00
|
|
|
3. LUCENE-1016: TermVectorAccessor, transparent vector space access via stored vectors
|
|
|
|
or by resolving the inverted index. (Karl Wettin)
|
|
|
|
|
2008-08-23 13:12:57 -04:00
|
|
|
Documentation
|
|
|
|
|
|
|
|
(None)
|
|
|
|
|
|
|
|
Build
|
|
|
|
|
|
|
|
(None)
|
|
|
|
|
|
|
|
Test Cases
|
|
|
|
|
2008-10-01 07:22:58 -04:00
|
|
|
(None)
|