rom: Anuj Shah [mailto:anujshahw...@gmail.com]
> > Sent: Friday, February 04, 2011 2:53 PM
> > To: java-user@lucene.apache.org
> > Subject: Re: Syntax for Numeric Range
> >
> > Hi,
> >
> > I see why the existing syntax cannot be used to automatically generate a
t: Friday, February 04, 2011 2:53 PM
> To: java-user@lucene.apache.org
> Subject: Re: Syntax for Numeric Range
>
> Hi,
>
> I see why the existing syntax cannot be used to automatically generate a
> NumericRange. But, is it possible to extend the QueryParser to include
> additiona
Anuj Shah [mailto:anujshahw...@gmail.com]
> > Sent: Thursday, February 03, 2011 4:50 PM
> > To: java-user@lucene.apache.org
> > Subject: Syntax for Numeric Range
> >
> > Is there a query syntax for specifying a numeric range for a field
> indexed
> as a
>
> Sent: Thursday, February 03, 2011 4:50 PM
> To: java-user@lucene.apache.org
> Subject: Syntax for Numeric Range
>
> Is there a query syntax for specifying a numeric range for a field indexed
as a
> NumericField.
>
> I've tried
>
> numericfield:[0 TO 10]
> >
>
Is there a query syntax for specifying a numeric range for a field indexed
as a NumericField.
I've tried
numericfield:[0 TO 10]
>
But it is parsed as a TermRangeQuery and not a NumericRangeQuery.
Many thanks
Anuj