# Issue with radius search?

**URL:** <https://discuss.elastic.co/t/issue-with-radius-search/47291>\
**Category:** Elasticsearch\
**Created:** [April 13, 2016, 6:02pm UTC](https://discuss.elastic.co/t/issue-with-radius-search/47291 "2016-04-13T18:02:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyllyn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tyllyn/32/9119_2.png) [@tyllyn](https://discuss.elastic.co/u/tyllyn)\
**Post date:** [April 13, 2016, 6:02pm UTC](https://discuss.elastic.co/t/issue-with-radius-search/47291/1 "2016-04-13T18:02:49Z")

</div>

We're on Elasticsearch 1.3.2.

We can't seem to get a record returned when doing a radial search against a linestring.

Our mapping can be broken down to this:

`{ "simpleline":{ "properties": { "geo_linestring": { "type": "geo_shape", "tree": "quadtree", "tree_levels": 26 } } } }`

We have a linear path that sort of forms a "U":  
`{ "geo_linestring": { "type": "linestring", "coordinates": [[ -96.6906661987305, 47.7989692687988], [-96.7057800292969, 47.2933502197266], [-96.3336181640625, 47.2952117919922], [-96.3226318359375, 47.8358612060547] ] } }`

The connection between middle two points appear to be within 15-20 miles of the city of Felton. So, if we wanted to find all "trails" within 30 miles of Felton, we want this to appear.

However, filtering on a circle centered at Felton (30 mile radius) does not return the item. Increasing the radius to 40 miles, however, does:

`{ "filter": { "geo_shape": { "geo_linestring": { "shape": { "type": "circle", "radius": "30mi", "coordinates": [-96.5055999755859, 47.0751991271973] } } } } }`

Are we just misunderstanding how this search works, or is there an issue with how we're approaching this?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:59pm UTC](https://discuss.elastic.co/t/issue-with-radius-search/47291/2 "2017-07-05T22:59:33Z")

</div>

Closed on July 5, 2017, 10:59pm UTC


