AW: MemoryUsage of sorting

2006-06-29 Thread Kroehling, Thomas
too many search results. Thanks a lot, Tom -Ursprüngliche Nachricht- Von: Chris Hostetter [mailto:[EMAIL PROTECTED] Gesendet: Thursday, June 29, 2006 6:40 AM An: java-user@lucene.apache.org Betreff: Re: MemoryUsage of sorting : some OutOfMemory errors. If I understand it correctly

Re: MemoryUsage of sorting

2006-06-28 Thread Chris Hostetter
: some OutOfMemory errors. If I understand it correctly, each unique term : in a field is read into a cache, when I use Searcher.search(Query query, : Sort sort) with one SortField. So even if my query only finds 5 Minor clarification: if the sort type is one of the numeric types, then an array o

MemoryUsage of sorting

2006-06-28 Thread Kroehling, Thomas
Hi, I have a question about using sorting in Lucene, because we experienced some OutOfMemory errors. If I understand it correctly, each unique term in a field is read into a cache, when I use Searcher.search(Query query, Sort sort) with one SortField. So even if my query only finds 5 documents, Luc