[ 
https://issues.apache.org/jira/browse/LUCENE-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-2413:
--------------------------------

    Attachment: LUCENE-2413_pattern.patch

this patch moves pattern-based components (PatternReplaceFilter, 
PatternTokenizer, PatternReplaceCharFilter)
to analysis.pattern package.

the existing PatternAnalyzer in contrib is marked deprecated in favor of this.

additionally, i removed the commons dependency on PatternTokenizer and improved 
its performance by reusing a stringbuilder (instead of IOUtils.toString), and 
by not creating new strings for group-matching.


> Consolidate all (Solr's & Lucene's) analyzers into contrib/analzyers
> --------------------------------------------------------------------
>
>                 Key: LUCENE-2413
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2413
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>            Reporter: Michael McCandless
>            Assignee: Robert Muir
>             Fix For: 4.0.0
>
>         Attachments: LUCENE-2413-charfilter.patch, LUCENE-2413-PFAW+LF.patch, 
> LUCENE-2413_commongrams.patch, LUCENE-2413_folding.patch, 
> LUCENE-2413_htmlstrip.patch, LUCENE-2413_pattern.patch, 
> LUCENE-2413_porter.patch, LUCENE-2413_removeDups.patch, 
> LUCENE-2413_teesink.patch, LUCENE-2413_wdf.patch
>
>
> We've been wanting to do this for quite some time now...  I think, now that 
> Solr/Lucene are merged, and we're looking at opening an unstable line of 
> development for Solr/Lucene, now is the right time to do it.
> A standalone module for all analyzers also empowers apps to separately 
> version the analyzers from which version of Solr/Lucene they use, possibly 
> enabling us to remove Version entirely from the analyzers.
> We should also do LUCENE-2309 (decouple, as much as possible, indexer from 
> the analysis API), but I don't think that issue needs to block this 
> consolidation.
> Once we do this, there is one place where our users can find all the 
> analyzers that Solr/Lucene provide.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to