[
https://issues.apache.org/jira/browse/LUCENE-5153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724230#comment-13724230
]
Robert Muir commented on LUCENE-5153:
-------------------------------------
I dont see the test in the patch... but I think it should be under lucene/core
(and just wrap MockAnalyzer with MockCharFilter or something).
I think its good to make wrapComponents just return the components as a
default. This will make PerFieldAnalyzerWrapper look less stupid :)
the getWrappedAnalyzer is explained by its javadocs. You might want a different
analyzer for different fields.
> Allow wrapping Reader from AnalyzerWrapper
> ------------------------------------------
>
> Key: LUCENE-5153
> URL: https://issues.apache.org/jira/browse/LUCENE-5153
> Project: Lucene - Core
> Issue Type: New Feature
> Components: core/index
> Reporter: Shai Erera
> Assignee: Shai Erera
> Attachments: LUCENE-5153.patch, LUCENE-5153.patch
>
>
> It can be useful to allow AnalyzerWrapper extensions to wrap the Reader given
> to initReader, e.g. with a CharFilter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]