[ https://issues.apache.org/jira/browse/LUCENE-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154035#comment-14154035 ]
Michael McCandless commented on LUCENE-5980: -------------------------------------------- +1 LOL > IW positions check not quite right > ---------------------------------- > > Key: LUCENE-5980 > URL: https://issues.apache.org/jira/browse/LUCENE-5980 > Project: Lucene - Core > Issue Type: Bug > Reporter: Robert Muir > Attachments: LUCENE-5980.patch > > > I noticed this when working on LUCENE-5977. > We only check that position doesn't overflow, not length. So a buggy analyzer > can happily write a corrupt index (negative freq) -- 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