[ 
https://issues.apache.org/jira/browse/LUCENE-5616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974211#comment-13974211
 ] 

ASF subversion and git services commented on LUCENE-5616:
---------------------------------------------------------

Commit 1588507 from [email protected] in branch 'dev/trunk'
[ https://svn.apache.org/r1588507 ]

LUCENE-5616: remove FieldInfos leniency

> remove FieldInfos leniency
> --------------------------
>
>                 Key: LUCENE-5616
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5616
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5616.patch, LUCENE-5616.patch
>
>
> The current behavior is sheisty: it always returns null for negative field 
> numbers (without consulting the map).
> This means if a field number somehow became negative, there would be silent 
> data loss.
> Instead, we should throw exception on negative numbers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to