> Hi all,
> 
> I have a problem with range queries on an integer field.
> (Solr 1.4)
> 
> In my index, myField contains values between 0 and 3000.
> 
> <field name="myField" type="pint" indexed="true"
> stored="true" required="false"/>
> 
> Here are a few samples to give you an idea of the problem:
> 
> fq=myField:[1 TO 1000] ... 0 results
> 
> fq=myField:[1 TO 999] ... 1288930 results
> 
> fq=myField:[1 TO 3000] ... 1288817 results
> 
> fq=myField:[1 TO 10000] ... 0 results
> 
> This makes no sense to me !
> 
> Any hints?

You need to use tint type for numeric range queries work correctly. 



      

Reply via email to