You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2013/08/29 13:06:51 UTC

[jira] [Updated] (LUCENE-5192) FieldInfos.Builder failed to catch adding field with different DV type under some circumstances

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

Shai Erera updated LUCENE-5192:
-------------------------------

    Attachment: LUCENE-5192.patch

Patch adds a testcase and fixes the bug. The bug only happens if you add same field name as indexable and DV, and then in another segment change its DV type. I'll commit it shortly.
                
> FieldInfos.Builder failed to catch adding field with different DV type under some circumstances
> -----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5192
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5192
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>             Fix For: 5.0, 4.5
>
>         Attachments: LUCENE-5192.patch
>
>
> I found it while working on LUCENE-5189. I'll attach a patch with a simple testcase which reproduces the problem and a fix.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org