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

George Papas commented on LUCENE-504:
-------------------------------------

Hi,

This is still an issue in 2.4.0. I know this is low priority, but has there been any more thinking about how to address this?

Thanks
George.
FuzzyQuery produces a "java.lang.NegativeArraySizeException" in PriorityQueue.initialize if I use Integer.MAX_VALUE as BooleanQuery.MaxClauseCount
--------------------------------------------------------------------------------------------------------------------------------------------------

Key: LUCENE-504
URL: https://issues.apache.org/jira/browse/LUCENE-504
Project: Lucene - Java
Issue Type: Bug
Components: Search
Affects Versions: 1.9
Reporter: Joerg Henss
Priority: Minor
Attachments: BooleanQuery.java.diff, fuzzyquery.patch, PriorityQueue.java.diff, TestFuzzyQueryError.java


PriorityQueue creates an "java.lang.NegativeArraySizeException" when initialized with Integer.MAX_VALUE, because Integer overflows. I think this could be a general problem with PriorityQueue. The Error occured when I set BooleanQuery.MaxClauseCount to Integer.MAX_VALUE and user a FuzzyQuery for searching.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-dev @
categorieslucene
postedDec 17, '08 at 11:01p
activeDec 17, '08 at 11:01p
posts1
users1
websitelucene.apache.org

1 user in discussion

George Papas (JIRA): 1 post

People

Translate

site design / logo © 2021 Grokbase