lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: [Lucene.Net] Arithmetic Overflow
Date Mon, 21 Mar 2011 17:09:53 GMT
I'm not sure how to report this or if this is working as intended, however 
using the recommended Search overload of IndexSearcher and passing 
Int32.MaxValue, results in an arithmetic overflow exception in 
PriorityQueue.Initialize(int maxSize). 

I tested this out on several platforms, including Windows 7 - 32, 64, 
Server 2003, Server 2008.

Perhaps the parameter that is passed to the Search method should be 
updated to reflect a more realistic value? 

Steve Hoff

NOTICE: This email transmission and any attachments that accompany it may 
contain information that is confidential or otherwise exempt from 
disclosure under applicable law and is intended solely for the use of the 
individual(s) to whom it was intended to be addressed. If you have 
received this email by mistake, or you are not the intended recipient, any 
disclosure, dissemination, distribution, copying or other use or retention 
of this communication or its substance is prohibited. If you have received 
this communication in error, please immediately report to the author via 
email that you received this message by mistake and also permanently 
destroy printed copies and delete the original and all copies of this 
email and any attachments from your computer. 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message