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

Robert Muir commented on LUCENE-6970:
-------------------------------------

thanks for the explanation, I guess the existing test was found with the huge 
multiplier only?

+1 for patch

> Off-by-one error in Lucene54DocValuesProducer
> ---------------------------------------------
>
>                 Key: LUCENE-6970
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6970
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.4
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>             Fix For: 5.4.1
>
>         Attachments: LUCENE-6970.patch
>
>
> This was found by this build failure: 
> http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/15210/
> If the doc count is a multiple of 65534 minus one and the segment is storing 
> binary, sorted set or sorted numeric doc values then you may hit an error 
> when reading values that is due to an off-by-one error in 
> Lucene54DocValuesProducer. This was introduced in LUCENE-6840.
> I'll upload a patch shortly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to