...@gmail.com]
> Sent: Monday, March 21, 2011 9:43 PM
> To: lucene-net-...@lucene.apache.org
> Subject: Re: [Lucene.Net] Arithmetic Overflow
>
> I agree that it should not throw an overflow exception. That's not
> very helpful for debugging.
>
> The valid range of that pa
-...@lucene.apache.org
Subject: Re: [Lucene.Net] Arithmetic Overflow
I agree that it should not throw an overflow exception. That's not
very helpful for debugging.
The valid range of that parameter is essentially [0...
Int32.MaxValue-1].. That's because it needs one extra slot in it's
ector.
DIGY
-Original Message-
From: steven.h...@pattersoncompanies.com
[mailto:steven.h...@pattersoncompanies.com]
Sent: Monday, March 21, 2011 7:10 PM
To: lucene-net-...@lucene.apache.org
Subject: RE: [Lucene.Net] Arithmetic Overflow
I'm not sure how to report this or if this is
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