Re: TooManyClauses in BooleanQuery

2005-06-13 Thread Erik Hatcher
On Jun 13, 2005, at 8:44 AM, Harald Stowasser wrote: Harald Stowasser schrieb: P.S. I tried now to use DateFilter. This works, but is very slow on longer Date-Ranges. (30sec. ) Filters in general were meant for one-time creation and caching. If the date ranges are fixed and the index not

RE: TooManyClauses in BooleanQuery

2005-06-13 Thread Omar Didi
if you get an OutOfMemoryException, I beleive the only thing you can do is just increase the JVM heap to a larger size. -Original Message- From: Harald Stowasser [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 8:28 AM To: java-user@lucene.apache.org Subject: Re: TooManyClauses in

Re: TooManyClauses in BooleanQuery

2005-06-13 Thread Harald Stowasser
Harald Stowasser schrieb: P.S. I tried now to use DateFilter. This works, but is very slow on longer Date-Ranges. (30sec. ) signature.asc Description: OpenPGP digital signature

Re: TooManyClauses in BooleanQuery

2005-06-13 Thread Harald Stowasser
[EMAIL PROTECTED] schrieb: > Hi Harald, > > its nice too see, that there are others out there in Germany dealing with > the same problems as we have been doing in the past years :-) > > So for the "too many clauses" problem I have a solution for you, that I > want to share: > Just include some

Re: TooManyClauses in BooleanQuery

2005-06-13 Thread Erik Hatcher
On Jun 13, 2005, at 7:47 AM, Harald Stowasser wrote: 1. Sorting by Date is ruinously slow. So I deactivated it. How were you sorting by date? 3. I also read that we should save the Date as MMDD-String. I don't like this solution, because I don't know that this will work. And then I h

Re: TooManyClauses in BooleanQuery

2005-06-13 Thread a . herberger
Hi Harald, its nice too see, that there are others out there in Germany dealing with the same problems as we have been doing in the past years :-) So for the "too many clauses" problem I have a solution for you, that I want to share: Just include somewhere at the very beginning of your program