Really sorry, this is what I meant: x:{5 TO 8} OR x:5 Cheers Avlesh
On Wed, Jun 17, 2009 at 9:36 AM, Avlesh Singh <avl...@gmail.com> wrote: > And how about this - x:{5 TO 8} AND x:5 > > Cheers > Avlesh > > > On Wed, Jun 17, 2009 at 1:57 AM, Peter Keegan <peterlkee...@gmail.com>wrote: > >> How about this: x:[5 TO 8] AND x:{0 TO 8} >> >> On Tue, Jun 16, 2009 at 1:16 PM, Otis Gospodnetic < >> otis_gospodne...@yahoo.com> wrote: >> >> > >> > Hi, >> > >> > I think the square brackets/curly braces need to be balanced, so this is >> > currently not doable with existing query parsers. >> > >> > Otis >> > -- >> > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >> > >> > >> > >> > ----- Original Message ---- >> > > From: gwk <g...@eyefi.nl> >> > > To: solr-user@lucene.apache.org >> > > Sent: Tuesday, June 16, 2009 11:52:12 AM >> > > Subject: Range queries >> > > >> > > Hi, >> > > >> > > When doing range queries it seems the query is either x:[5 TO 8] which >> > means 5 >> > > <= x <= 8 or x:{5 TO 8} which means 5 < x < 8. But how do you get one >> > half >> > > exclusive, the other inclusive for double fields the following: 5 <= x >> < >> > 8? Is >> > > this possible? >> > > >> > > Regards, >> > > >> > > gwk >> > >> > >> > >