-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
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
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
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
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
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
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