I could kick myself in the head for that one....duh...that worked!  Thanks!!!  
I should have tried that earlier from your earlier email but for some reason I 
was stuck on trying to get * working.
Thanks,
Dean

-----Original Message-----
From: Michael Sokolov [mailto:soko...@ifactory.com] 
Sent: Sunday, June 19, 2011 7:00 PM
To: java-user@lucene.apache.org
Subject: Re: ranged query didn't work

On 6/19/2011 8:11 PM, Hiller, Dean x66079 wrote:
> Oddly, enough, this seems to work and I get one result calling 
> Collector.collect(int docIt)...(I found out AND has to be caps)...
>
> author:dean AND date:20110623
> but this does not seem to work...
>
> author:dean AND date:[ 20110623 TO * ]
I'm not sure, but I'd try

author:dean AND date:[ 20110623 TO 99999999]

> You would think this second query would return the single result that was 
> returned in the first query, wouldn't it???  I mean it is asking for the same 
> date inclusive and more...why does Collector.collect never get called like 
> nothing matches....stepping through the Lucene code, Scorer is null for some 
> reason and it skips collecting everything because of that.  Any ideas?
>
> Thanks,
> Dean


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org


This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

Reply via email to