title: Geo distance filter
body: <p>I am receiving a 400 bad request error from elasticsearch. The error is a big block response but I believe this is the key part.</p>
  
  <pre><code>failed to find mapper for [location] for geo distance based sort
  </code></pre>
  
  <p>I am using ES 1.5.1 to query to. My query is:</p>
  
  <pre><code>{
    query: {
      filtered: {
        query: {
          match: {
            title:"amsterdam*"
          }
        }
      }
    }, sort: [
         {
           _geo_distance: {
             location: {lat:0, lon:0}, order:"asc", unit:"miles"
           }
         }
       ]
  }
  </code></pre>
  
  <p>I have formatted the query just like the documentation <a href="http://www.elastic.co/guide/en/elasticsearch/guide/current/sorting-by-distance.html" rel="nofollow">here</a>. Am I missing a step?</p>
  
  <p>This is my current mapping:</p>
  
  <pre><code>{
    "gb": {
      "mappings": {
        "store": {
          "dynamic":"false",
          "properties": {
            "active": {
              "type": "b‌​oolean"
            },
            "deleted": {
              "type": "boolean"
            },
            "location": {
              "type":"geo_point"
            },
            "open": {
              "ty‌​pe": "boolean"
            },
            "suspended": {
              "type": "boolean"
            },
            "title": {
              "type":"string"
            }
          }
        }
      }
    }
  }
  </code></pre>