Re: Syntax for Numeric Range

2011-02-04 Thread Anuj Shah
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

RE: Syntax for Numeric Range

2011-02-04 Thread Uwe Schindler
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

Re: Syntax for Numeric Range

2011-02-04 Thread Anuj Shah
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 >

RE: Syntax for Numeric Range

2011-02-03 Thread Uwe Schindler
> 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] > > >

Syntax for Numeric Range

2011-02-03 Thread Anuj Shah
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