Hi again,

It never fails that when you walk away from a problem, the solution hits you like a ton of bricks.....

had to use a RangeQuery:

query.add(new RangeQuery( new Term ("date_published", from_date), new Term("date_published", to_date), true ), true, false );

NOT a TermQuery:

query.add(new TermQuery( new Term ("date_published", "[" + from_date + " - " + to_date + "]")), true, false);

Thanks for your patience ......
Dominic







_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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

Reply via email to