lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Tang <emtt...@yahoo.com>
Subject Re: BooleanQuery - TooManyClauses Issue
Date Wed, 17 Nov 2004 00:07:51 GMT
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 <luke.francl@stellent.com> wrote:

> 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 YYYYMMDD.
> 
> Can anyone point to a good example of how to use the DateFilter?
> 
> Thanks,
> Luke
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message