RE: BooleanQuery.TooManyClauses exception

2006-10-17 Thread Steven Parkes
-Original Message- From: Bushey, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 10:57 AM To: java-user@lucene.apache.org Subject: RE: BooleanQuery.TooManyClauses exception Thanks. That's the explanation that I was looking for. The WIKI does not cover this in much detail

Re: BooleanQuery.TooManyClauses exception

2006-10-17 Thread Erick Erickson
ctober 17, 2006 12:13 PM To: java-user@lucene.apache.org Subject: RE: BooleanQuery.TooManyClauses exception Lucene takes your date range, enumerates all the unique date/time values in your corpus within that range, and then executes that query. So the number of terms in your query is going to

Re: BooleanQuery.TooManyClauses exception

2006-10-17 Thread Peter W .
Another solution is work with plain java dates and calendar objects, convert into Lucene strings using DateTools (resolution day) then query this field with two RangeFilters using ChainedFilter. You will never get the BooleanQuery error. Peter On Oct 17, 2006, at 10:57 AM, Bushey, John wrote

RE: BooleanQuery.TooManyClauses exception

2006-10-17 Thread Bushey, John
EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 12:13 PM To: java-user@lucene.apache.org Subject: RE: BooleanQuery.TooManyClauses exception Lucene takes your date range, enumerates all the unique date/time values in your corpus within that range, and then executes that query. So the number of ter

RE: BooleanQuery.TooManyClauses exception

2006-10-17 Thread Doron Cohen
See also relevant FAQ entry & Wiki page: http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-06fafb5d19e786a50fb3dfb8821a6af9f37aa831 http://wiki.apache.org/jakarta-lucene/LargeScaleDateRangeProcessing "Steven Parkes" <[EMAIL PROTECTED]> wrote on 17/10/2006 09:12:55: > Lucene takes your date

RE: BooleanQuery.TooManyClauses exception

2006-10-17 Thread Steven Parkes
Lucene takes your date range, enumerates all the unique date/time values in your corpus within that range, and then executes that query. So the number of terms in your query is going to be equal to the number of unique date/time values in the range. The most common way of handling this is to not i

Re: BooleanQuery.TooManyClauses exception

2006-10-16 Thread Chris Hostetter
RangeQueries expand to a boolean query containing all terms in the range, so it doesn't matter if you search on a course grain range, if you store the dates with high granulatiry -- the number of terms will be high. this wiki page discusses some of the merrits of using multiple date fields with v