OK, I opened https://issues.apache.org/jira/browse/LUCENE-2119
Mike
On Wed, Dec 2, 2009 at 8:34 AM, Paul Taylor wrote:
> Hi, just upgraded my code to Lucene 3.0 and on one simple search I get the
> following stacktrace when I pass Integer.MAX_VALUE to the
> Searcher.search(Query query,int n) met
On Wed, Dec 2, 2009 at 10:18 AM, Paul Taylor wrote:
> Uwe Schindler wrote:
>>
>> If you want to have all results, you do something wrong. :-)
>>
>> Full text engines like lucene are made for returning only top-ranking
>> results. So if you use TopDocs results you must know before how many
>> TopDo
Uwe Schindler wrote:
If you want to have all results, you do something wrong. :-)
Full text engines like lucene are made for returning only top-ranking
results. So if you use TopDocs results you must know before how many TopDocs
you want to have. Internally Lucene works with PriorityQueues that
rg
> Subject: java.lang.NegativeArraySizeException on searching using
> Integer.MAX_VALUE for number of hits
>
> Hi, just upgraded my code to Lucene 3.0 and on one simple search I get
> the following stacktrace when I pass Integer.MAX_VALUE to the
> Searcher.search(Query query,
Hi, just upgraded my code to Lucene 3.0 and on one simple search I get
the following stacktrace when I pass Integer.MAX_VALUE to the
Searcher.search(Query query,int n) method, if I change the value to 1000
it works okay.
java.lang.NegativeArraySizeException
at
org.apache.lucene.util.Prior