lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avlesh Singh <avl...@gmail.com>
Subject Re: Range queries
Date Wed, 17 Jun 2009 04:06:51 GMT
And how about this - x:{5 TO 8} AND x:5

Cheers
Avlesh

On Wed, Jun 17, 2009 at 1:57 AM, Peter Keegan <peterlkeegan@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_gospodnetic@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 <gijs@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
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message