[
https://issues.apache.org/jira/browse/LUCENE-7456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510740#comment-15510740
]
Michael McCandless commented on LUCENE-7456:
--------------------------------------------
Wow, nice catch! Thank you.
Our default codec postings & doc values format doesn't override the merge
method, so I guess the impact here on a default Lucene usage is minor. But if
you customize your codec then it could matter if you have a better merge impl
than the naive default.
I'll review the patch.
> PerField(DocValues|Postings)Format do not call the per-field merge methods
> --------------------------------------------------------------------------
>
> Key: LUCENE-7456
> URL: https://issues.apache.org/jira/browse/LUCENE-7456
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/codecs
> Affects Versions: 6.2.1
> Reporter: Julien MASSENET
> Attachments: LUCENE-7456.patch
>
>
> While porting some old codec code from Lucene 4.3.1, I couldn't get the
> per-field formats to call upon the per-field merge methods; the default merge
> method was always being called.
> I think this is a side-effect of LUCENE-5894.
> Attached is a patch with a test that reproduces the error and an associated
> fix that pass the unit tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]