You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/01 03:48:13 UTC

[jira] [Commented] (LUCENE-5980) IW positions check not quite right

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

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

Commit 1642623 from [~rcmuir] in branch 'dev/branches/lucene_solr_4_10'
[ https://svn.apache.org/r1642623 ]

LUCENE-5980: Don't let document length overflow.

> 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
>            Assignee: Robert Muir
>             Fix For: 4.10.3, 5.0, Trunk
>
>         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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org