[
https://issues.apache.org/jira/browse/LUCENE-4141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-4141:
--------------------------------
Attachment: LUCENE-4141_test.patch
here's some initial tests: overflow checks work, but negative values cause
things to go backwards undetected.
> don't allow Analyzer.offsetGap/posIncGap to be negative
> -------------------------------------------------------
>
> Key: LUCENE-4141
> URL: https://issues.apache.org/jira/browse/LUCENE-4141
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-4141_test.patch
>
>
> unrelated but i thought about this looking at LUCENE-4139: we should check
> this doesnt make a corrupt index but instead that IW throws a reasonable
> exception.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]