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

Shai Erera updated LUCENE-5153:
-------------------------------

    Attachment: LUCENE-5153.patch

Added a test to TestingAnalyzers which is under lucene/analysis/common. Is 
there a suitable test under lucene/core?

Also, now that someone can override either components or reader, maybe 
wrapComponents should also not be abstract, returning the passed components? Or 
we make both of them abstract?

Another question (unrelated to this issue) -- why do we need getWrappedAnalyzer 
vs taking the wrapped analyzer in the ctor, like all of our Filter classes do?
                
> 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]

Reply via email to