[
https://issues.apache.org/jira/browse/LUCENE-7318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15482193#comment-15482193
]
Uwe Schindler edited comment on LUCENE-7318 at 9/11/16 6:31 PM:
----------------------------------------------------------------
Here is a patch, restoring the classes in the analysis/common module! I did not
deprecate anything for now (for 6.2.1) and also not for branch_6x until
LUCENE-7444 is solved.
I did not clone CharacterUtils. WordlistLoader was cloned completely, because
you cannot subclass static classes.
The factories now create the analysis/common's variant, so they are consistent
and the tests don't fail (with Mike's change, the factory tests for LowerCase
and StopFilter did not even work at all!!!)
was (Author: thetaphi):
Here is a patch, restoring the classes in the analysis/common module!
I did not clone CharacterUtils. WordlistLoader was cloned completely, because
you cannot subclass static classes.
The factories now create the analysis/common's variant, so they are consistent
and the tests don't fail (with Mike's change, the factory tests for LowerCase
and StopFilter did not even work at all!!!)
> Graduate StandardAnalyzer out of analyzers module into core
> -----------------------------------------------------------
>
> Key: LUCENE-7318
> URL: https://issues.apache.org/jira/browse/LUCENE-7318
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Priority: Blocker
> Fix For: master (7.0), 6.2, 6.2.1
>
> Attachments: LUCENE-7318-backwards.patch, LUCENE-7318.patch
>
>
> Spinoff from LUCENE-7314:
> {{StandardAnalyzer}} has progressed substantially since we broke out the
> analyzers module ... it now follows a real Unicode standard (UAX #29 Unicode
> Text Segmentation). It's also much faster than it used to be, since it
> switched to JFlex a while back. Many bug fixes, etc.
> I think it would make a good default for most Lucene users, and we should
> graduate it from the analyzers module into core, and make it the default for
> {{IndexWriter}}.
> It's really quite crazy that users must go digging in the analyzers module to
> get started with Lucene ... we don't make them dig through the codecs module
> to find a good default codec ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]