On Wed, Dec 14, 2011 at 2:04 PM, Erick Erickson <erickerick...@gmail.com> wrote:
> Hmmm, seems like it should work, but there are two things you might try:
> 1> just execute the query in Solr. id:1 TO 1000000]. Does that work?

Yep, that works fine.

> 2> I'm really grasping at straws here, but it's *possible* that you
>     need to use the same precisionstep as tint (8?)? There's a
>     constructor that takes precisionStep as a parameter, but the
>     default is 4 in the 3.x code.

Ah-ha, that was it. I did not notice the alternate constructor. The
field was originally indexed with solr's default "int" type, which has
precisionStep="0" (i.e., don't index at different precision levels).
The equivalent value for the NumericRangeQuery constructor is 32. This
isn't exactly inuitive, but I was able to figure it out with a careful
reading of the javadoc.

Thanks!
--jay

Reply via email to