You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Philipp Chudinov <mo...@basko.ru> on 2002/10/14 02:12:55 UTC
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: range query error
Posted by Terry Steichen <te...@net-frame.com>.
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" <mo...@basko.ru>
To: "Lucene Users List" <lu...@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:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>