Re: BooleanQuery - TooManyClauses Issue

2004-11-16 Thread Edwin Tang
This is what I have been doing with DateFilter DateFilter dateFilter = new DateFilter("published", lLimitDate, System.currentTimeMillis()); TopFieldDocs docs = searcher.search(parser.parse(sSearchPhrase), dateFilter, utility.iMaxResults, new Sort(sortFields)); Ed --- Luke Francl <[EMAIL PROT

Re: BooleanQuery - TooManyClauses Issue

2004-11-16 Thread Luke Francl
On Tue, 2004-11-16 at 16:32, Paul Elschot wrote: > Once you approach 1000 days, you'll get the same problem again, > so you might want to use a filter for the dates. > See DateFilter and the archives on MMDD. Can anyone point to a good example of how to use the DateFilter? Thanks, Luke ---

Re: BooleanQuery - TooManyClauses Issue

2004-11-16 Thread Paul Elschot
On Tuesday 16 November 2004 21:35, Joe Krause wrote: > Hey Folks, I just inherited a deployed Lucene based application that > started throwing the following exception: > > org.apache.lucene.search.BooleanQuery$TooManyClauses ... > I did some research regarding this error and found out that the def

RE: BooleanQuery - TooManyClauses

2004-10-26 Thread Angelov, Rossen
, > > Terry > - Original Message - > From: Angelov, Rossen > To: 'Lucene Users List' > Sent: Tuesday, October 26, 2004 11:43 AM > Subject: RE: BooleanQuery - TooManyClauses > > > > > >On Oct 25, 2004, at 6:35 PM, A

RE: BooleanQuery - TooManyClauses

2004-10-26 Thread Vanlerberghe, Luc
You can already add the separate fields to your documents even if you don't use them yet... Regards, Luc > -Original Message- > From: Terry Steichen [mailto:[EMAIL PROTECTED] > Sent: dinsdag 26 oktober 2004 18:28 > To: Lucene Users List > Subject: Re: BooleanQu

Re: BooleanQuery - TooManyClauses

2004-10-26 Thread Erik Hatcher
Terry Steichen [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 11:28 AM To: Lucene Users List Subject: Re: BooleanQuery - TooManyClauses I think what Erik's asking is whether you can live with expressing your indexed date in the form of MMDD, without the hour and minute extension.

RE: BooleanQuery - TooManyClauses

2004-10-26 Thread Angelov, Rossen
for more robust solution but this should do for now. Thanks, Ross -Original Message- From: Terry Steichen [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 11:28 AM To: Lucene Users List Subject: Re: BooleanQuery - TooManyClauses I think what Erik's asking is whether yo

Re: BooleanQuery - TooManyClauses

2004-10-26 Thread Terry Steichen
Tuesday, October 26, 2004 11:43 AM Subject: RE: BooleanQuery - TooManyClauses > >On Oct 25, 2004, at 6:35 PM, Angelov, Rossen wrote: >> Why there is a limit on the number of clauses? and is there any harm in >> setting MaxClauseCount to Integer.MAX_VALUE? >

RE: BooleanQuery - TooManyClauses

2004-10-26 Thread Angelov, Rossen
> >On Oct 25, 2004, at 6:35 PM, Angelov, Rossen wrote: >> Why there is a limit on the number of clauses? and is there any harm in >> setting MaxClauseCount to Integer.MAX_VALUE? > >The harm is in performance and resource utilization. Rather than do >this, though, read on... > >> I'm using a Range

Re: BooleanQuery - TooManyClauses

2004-10-26 Thread Erik Hatcher
On Oct 25, 2004, at 6:35 PM, Angelov, Rossen wrote: Why there is a limit on the number of clauses? and is there any harm in setting MaxClauseCount to Integer.MAX_VALUE? The harm is in performance and resource utilization. Rather than do this, though, read on... I'm using a Range Query on a field

Re: BooleanQuery$TooManyClauses

2004-03-29 Thread Kevin A. Burton
hui wrote: Hi, I have a range query for the date like [20011201 To 20040201], it works fine for Lucene API 1.3 RC1. When I upgrade to 1.3 final, I got "BooleanQuery$TooManyClauses" exception sometimes no matter the index is created by 1.3RC1 or 1.3 final. Check on the email archive, it seems relat