title: Solr integer range query, what fieldType to use?
body: <p>I am new to solr and trying range query "TO". However I am not able to understand the correct behavior.</p>
  
  <p>Below is my field in table:</p>
  
  <pre><code> order_range int
  </code></pre>
  
  <p>schema.xml contains:</p>
  
  <pre><code>&lt;fieldType name="int" class="solr.IntField"/&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;field name="order_range" type="int" indexed="true" stored="true"/&gt;
  </code></pre>
  
  <p>However when I issue, following query</p>
  
  <pre><code> order_range:[20 TO *]
  </code></pre>
  
  <p>it returns the documents where order_range is less than 20.
  As per solrwiki,</p>
  
  <pre><code>field:[100 TO *] finds all field values greater than or equal to 100
  </code></pre>
  
  <p>Can somebody help me with what am I missing?</p>