Re: out-of-memory when searching, paging does not work.

2006-06-04 Thread Beady Geraghty
/Exact-date-search-doesn%27t-work-with-1.9.1--t1418643.html#a3833741 > > > > : Date: Sun, 14 May 2006 15:34:08 -0400 > : From: Beady Geraghty <[EMAIL PROTECTED] > > : Reply-To: java-user@lucene.apache.org > : To: java-user@lucene.apache.org > : Subject: Re: out-of-memory

Re: out-of-memory when searching, paging does not work.

2006-05-14 Thread Beady Geraghty
g : To: java-user@lucene.apache.org : Subject: Re: out-of-memory when searching, paging does not work. : : Here is the gist of the code: : : Query query = new TermQuery( new Term("contents", q.toLowerCase())); : : : long start = new Date().getTime(); : Hits hits = is.search(query); : lo

Re: out-of-memory when searching, paging does not work.

2006-05-14 Thread Chris Hostetter
33741 : Date: Sun, 14 May 2006 15:34:08 -0400 : From: Beady Geraghty <[EMAIL PROTECTED]> : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache.org : Subject: Re: out-of-memory when searching, paging does not work. : : Here is the gist of the code: : : Query query = new Ter

Re: out-of-memory when searching, paging does not work.

2006-05-14 Thread Beady Geraghty
Here is the gist of the code: Query query = new TermQuery( new Term("contents", q.toLowerCase())); long start = new Date().getTime(); Hits hits = is.search(query); long end = new Date().getTime(); System.err.println("Found " + hits.length() + " document(s) (in " + (end - st

Re: out-of-memory when searching, paging does not work.

2006-05-14 Thread Erik Hatcher
Could you share at least some pseudo-code of what you're doing in the loop of retrieving the "name" of each document? Are you storing all of those names as you iterate? Have you profiled your application to see exactly where the memory is going? It is surely being eaten by your own code

out-of-memory when searching, paging does not work.

2006-05-14 Thread Beady Geraghty
I have an out-of-memroy error when returning many hits. I am still on Lucene 1.4.3 I have a simple term query. It returned 899810 documents. I try to retrieve the name of each document and nothing else and I ran out of memory. Instead of getting the names all at once, I tried to query again a