2010-05-05 12:27:58 -04:00
|
|
|
Analysis Module Change Log
|
|
|
|
|
|
|
|
======================= Trunk (not yet released) =======================
|
|
|
|
|
|
|
|
API Changes
|
|
|
|
|
|
|
|
* LUCENE-2413: Deprecated PatternAnalyzer in common/miscellaneous, in favor
|
|
|
|
of the pattern package (CharFilter, Tokenizer, TokenFilter). (Robert Muir)
|
|
|
|
|
|
|
|
* LUCENE-2413: Removed the AnalyzerUtil in common/miscellaneous. (Robert Muir)
|
|
|
|
|
2010-09-28 02:16:16 -04:00
|
|
|
* LUCENE-2167: StandardTokenizer/Analyzer in common/standard/ now implement
|
|
|
|
the Word Break rules from the Unicode Text Segmentation algorithm (UAX#29),
|
|
|
|
as well as tokenizing URLs and email addresses according to the relevant
|
|
|
|
RFCs. ClassicTokenizer/Analyzer retains the old StandardTokenizer/Analyzer
|
|
|
|
behavior. (Steven Rowe, Robert Muir, Uwe Schindler)
|
|
|
|
|
2010-05-05 12:27:58 -04:00
|
|
|
New Features
|
|
|
|
|
|
|
|
* LUCENE-2413: Consolidated Solr analysis components into common.
|
|
|
|
New features from Solr now available to Lucene users include:
|
|
|
|
- o.a.l.analysis.commongrams: Constructs n-grams for frequently occurring terms
|
|
|
|
and phrases.
|
|
|
|
- o.a.l.analysis.charfilter.HTMLStripCharFilter: CharFilter that strips HTML
|
|
|
|
constructs.
|
|
|
|
- o.a.l.analysis.miscellaneous.WordDelimiterFilter: TokenFilter that splits words
|
|
|
|
into subwords and performs optional transformations on subword groups.
|
|
|
|
- o.a.l.analysis.miscellaneous.RemoveDuplicatesTokenFilter: TokenFilter which
|
|
|
|
filters out Tokens at the same position and Term text as the previous token.
|
|
|
|
- o.a.l.analysis.miscellaneous.TrimFilter: Trims leading and trailing whitespace
|
|
|
|
from Tokens in the stream.
|
|
|
|
- o.a.l.analysis.miscellaneous.KeepWordFilter: A TokenFilter that only keeps tokens
|
|
|
|
with text contained in the required words (inverse of StopFilter).
|
|
|
|
- o.a.l.analysis.miscellaneous.HyphenatedWordsFilter: A TokenFilter that puts
|
|
|
|
hyphenated words broken into two lines back together.
|
2010-06-23 07:25:17 -04:00
|
|
|
- o.a.l.analysis.miscellaneous.CapitalizationFilter: A TokenFilter that applies
|
|
|
|
capitalization rules to tokens.
|
2010-05-05 12:27:58 -04:00
|
|
|
- o.a.l.analysis.pattern: Package for pattern-based analysis, containing a
|
|
|
|
CharFilter, Tokenizer, and Tokenfilter for transforming text with regexes.
|
2010-05-20 06:46:00 -04:00
|
|
|
- o.a.l.analysis.synonym.SynonymFilter: A synonym filter that supports multi-word
|
|
|
|
synonyms.
|
2010-06-23 07:25:17 -04:00
|
|
|
- o.a.l.analysis.phonetic: Package for phonetic search, containing various
|
|
|
|
phonetic encoders such as Double Metaphone.
|
2010-05-05 12:27:58 -04:00
|
|
|
|
|
|
|
* LUCENE-2413: Consolidated all Lucene analyzers into common.
|
2010-05-25 16:16:44 -04:00
|
|
|
- o.a.l.analysis.KeywordAnalyzer -> o.a.l.analysis.core.KeywordAnalyzer
|
|
|
|
- o.a.l.analysis.KeywordTokenizer -> o.a.l.analysis.core.KeywordTokenizer
|
|
|
|
- o.a.l.analysis.LetterTokenizer -> o.a.l.analysis.core.LetterTokenizer
|
|
|
|
- o.a.l.analysis.LowerCaseFilter -> o.a.l.analysis.core.LowerCaseFilter
|
|
|
|
- o.a.l.analysis.LowerCaseTokenizer -> o.a.l.analysis.core.LowerCaseTokenizer
|
|
|
|
- o.a.l.analysis.SimpleAnalyzer -> o.a.l.analysis.core.SimpleAnalyzer
|
|
|
|
- o.a.l.analysis.StopAnalyzer -> o.a.l.analysis.core.StopAnalyzer
|
|
|
|
- o.a.l.analysis.StopFilter -> o.a.l.analysis.core.StopFilter
|
|
|
|
- o.a.l.analysis.WhitespaceAnalyzer -> o.a.l.analysis.core.WhitespaceAnalyzer
|
|
|
|
- o.a.l.analysis.WhitespaceTokenizer -> o.a.l.analysis.core.WhitespaceTokenizer
|
2010-05-05 12:27:58 -04:00
|
|
|
- o.a.l.analysis.PorterStemFilter -> o.a.l.analysis.en.PorterStemFilter
|
|
|
|
- o.a.l.analysis.ASCIIFoldingFilter -> o.a.l.analysis.miscellaneous.ASCIIFoldingFilter
|
|
|
|
- o.a.l.analysis.ISOLatin1AccentFilter -> o.a.l.analysis.miscellaneous.ISOLatin1AccentFilter
|
2010-05-20 09:23:12 -04:00
|
|
|
- o.a.l.analysis.KeywordMarkerFilter -> o.a.l.analysis.miscellaneous.KeywordMarkerFilter
|
2010-05-05 12:27:58 -04:00
|
|
|
- o.a.l.analysis.LengthFilter -> o.a.l.analysis.miscellaneous.LengthFilter
|
|
|
|
- o.a.l.analysis.PerFieldAnalyzerWrapper -> o.a.l.analysis.miscellaneous.PerFieldAnalyzerWrapper
|
|
|
|
- o.a.l.analysis.TeeSinkTokenFilter -> o.a.l.analysis.sinks.TeeSinkTokenFilter
|
2010-05-25 18:28:32 -04:00
|
|
|
- o.a.l.analysis.CharFilter -> o.a.l.analysis.charfilter.CharFilter
|
2010-05-05 12:27:58 -04:00
|
|
|
- o.a.l.analysis.BaseCharFilter -> o.a.l.analysis.charfilter.BaseCharFilter
|
|
|
|
- o.a.l.analysis.MappingCharFilter -> o.a.l.analysis.charfilter.MappingCharFilter
|
|
|
|
- o.a.l.analysis.NormalizeCharMap -> o.a.l.analysis.charfilter.NormalizeCharMap
|
2010-05-25 18:28:32 -04:00
|
|
|
- o.a.l.analysis.CharArraySet -> o.a.l.analysis.util.CharArraySet
|
|
|
|
- o.a.l.analysis.CharArrayMap -> o.a.l.analysis.util.CharArrayMap
|
2010-05-25 16:16:44 -04:00
|
|
|
- o.a.l.analysis.ReusableAnalyzerBase -> o.a.l.analysis.util.ReusableAnalyzerBase
|
|
|
|
- o.a.l.analysis.StopwordAnalyzerBase -> o.a.l.analysis.util.StopwordAnalyzerBase
|
|
|
|
- o.a.l.analysis.WordListLoader -> o.a.l.analysis.util.WordListLoader
|
2010-05-05 12:27:58 -04:00
|
|
|
|
|
|
|
Build
|
|
|
|
|
2010-05-20 06:46:00 -04:00
|
|
|
* LUCENE-2413: All analyzers in contrib/analyzers and contrib/icu were moved to the
|
2010-05-20 09:23:12 -04:00
|
|
|
analysis module. The 'smartcn' and 'stempel' components now depend on 'common'.
|
|
|
|
(Robert Muir)
|