lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Shah <anujshahw...@gmail.com>
Subject Syntax for Numeric Range
Date Thu, 03 Feb 2011 15:49:46 GMT
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

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