[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-330?pag...
]
Hardy Ferentschik resolved HSEARCH-330.
---------------------------------------
Resolution: Fixed
Made sure that calculateTopDocsRetrievalSize will not overrun and that at most
Integer.MAX_VALUE-1 is returned. Using such a high value will, however, on many/most
systems create OutOfMemoryExceptions since Lucene will instantiate an Object array with
the specified size!
NegativeArraySizeException if you use
FullTextQuery.setMaxResults(Integer.MAX_VALUE)
------------------------------------------------------------------------------------
Key: HSEARCH-330
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-330
Project: Hibernate Search
Issue Type: Bug
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Fix For: 3.1.1
Seems to be a Lucene bug, but maybe we should add a work around?
http://forum.hibernate.org/viewtopic.php?p=2401667
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira