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 PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to