lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Range Query
Date Mon, 28 Apr 2003 15:01:57 GMT
Aviran,

Yes, it looks like there is a discrepency between QueryParser's Range
Query syntax and RangeQuery.toString() method.
I can change the latter, but who uses toString() for anything other
than human-friendly print-outs?

What I wonder is why that Term, lo0ddiz2jml, oks like gibberish?

Otis

--- Aviran Mordo <amordo@infosciences.com> wrote:
> Hi All,
> I have submitted a bug report on this issue to bugzilla, but since I
> haven't got any response to it I ask you guys
>  
> When the RangeQuery.toString() outputs. The result is something like
> this: "PostDate:[0ddiz2jml-null]"
> 
> But the QueryParser does not handles the (-) sign (Throws and
> exception), it expects the "TO" keyword. So in order for it to parse
> the
> string. 
> 
> The String has to be converted to "PostDate:[0ddiz2jml TO null]"
> instead
> of "PostDate:[0ddiz2jml-null]"
> 
> Is this a BUG?
> 
> BTW: I use Lucene 1.3-RC1
> 
>  
> 
> Thanks,
> 
> Aviran Mordo
> 
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.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