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

Michael McCandless resolved LUCENE-3461.
----------------------------------------

    Resolution: Fixed

> Adding same IndexDocValuesField twice trips assert
> --------------------------------------------------
>
>                 Key: LUCENE-3461
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3461
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3461.patch, LUCENE-3461.patch
>
>
> Doc values fields are single-valued by design, ie a given field name can only 
> occur once in the document.
> But if you accidentally add it more than once, you get an assert error, which 
> is spooky because if you run w/o asserts maybe something eviler happens.
> I think we should explicitly check for this and throw clear exc since user 
> could easily do this by accident.

--
This message is automatically generated by JIRA.
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

Reply via email to