[ https://issues.apache.org/jira/browse/LUCENE-5192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Erera resolved LUCENE-5192. -------------------------------- Resolution: Fixed Committed to trunk and 4x. On 4x I had to also fix DocFieldProcessor to call FieldInfos.addOrUpdate even when the field has been encountered. That's because the logic has changed in trunk and now DV fields are processed as stored fields, therefore FIS.addOrUpdate is called for both the posting and NDV, but in 4x it's not, and only the FI was updated in case you added same field with two types (and FIS didn't know about it at all!). > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org