lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terry Steichen" <te...@net-frame.com>
Subject Re: range query error
Date Mon, 14 Oct 2002 00:53:20 GMT
Philipp,

Make sure you have a space on both sides of the dash ("-") in the range
expression.  See if that makes any difference.

Terry

----- Original Message -----
From: "Philipp Chudinov" <morpheus@basko.ru>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Sunday, October 13, 2002 8:12 PM
Subject: range query error


> Why this query: _published:[200101010000 - 200201010000]
> returns an error like this: Encountered "200201010000" at line 1, column
27.
> Was expecting:  "]" ...?
> whats wrong with syntax? if I query with string  (_published:[ -
> 200201010000]) it works with no problems...
>
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
>
>


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


Mime
View raw message