title: Range query in Elasticsearch_dsl by integer field
body: <p>I used <code>elasticsearch-dsl==5.2.0</code>, <code>elasticsearch==5.3.0</code> and <code>Django==1.8.15</code>.</p>
  
  <p><strong>Django model</strong>:</p>
  
  <pre><code>class Item(models.Model):
      price = models.DecimalField(default=0)
  
      def to_search(self):
          return DocItem(
              meta={'id': self.id},
              price=self.price
          )
  </code></pre>
  
  <p><strong>DocType class</strong>:</p>
  
  <pre><code>class DocItem(DocType):
      price = Integer()
  </code></pre>
  
  <p><strong>FacetedSearch class</strong>:</p>
  
  <pre><code>class ItemSearch(FacetedSearch):
      index = 'item'
      doc_types = [DocItem, ]
      fields = ['price']
  </code></pre>
  
  <p>When I need to search all items with <code>price == 5.0</code>, I do the next:</p>
  
  <pre><code>search = ItemSearch().search()
  result = search.filter('match', price=5.0).execute()
  </code></pre>
  
  <p><strong>Question</strong>:</p>
  
  <p>How can I search all items with price in range:  1.0 &lt; price &lt;= 5.0 ?</p>