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

Adrien Grand updated LUCENE-7429:
---------------------------------
    Attachment: LUCENE-7429.patch

New patch that also makes sure to use the same attribute factory as the wrapped 
analyzer and adds more tests. I think it's ready.

> DelegatingAnalyzerWrapper should delegate normalization too
> -----------------------------------------------------------
>
>                 Key: LUCENE-7429
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7429
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 6.2
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-7355.patch, LUCENE-7429.patch
>
>
> This is something that I overlooked in LUCENE-7355: 
> (Delegating)AnalyzerWrapper uses the default implementation of 
> initReaderForNormalization and normalize, meaning that by default the 
> normalization is a no-op. It should delegate to the wrapped analyzer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to