# Can't seem to get geosearch to work?

**URL:** <https://discuss.elastic.co/t/cant-seem-to-get-geosearch-to-work/8676>\
**Category:** Elasticsearch\
**Created:** [August 8, 2012, 2:59pm UTC](https://discuss.elastic.co/t/cant-seem-to-get-geosearch-to-work/8676 "2012-08-08T14:59:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NLS](https://avatars.discourse-cdn.com/v4/letter/n/848f3c/32.png) [@NLS](https://discuss.elastic.co/u/NLS)\
**Post date:** [August 8, 2012, 2:59pm UTC](https://discuss.elastic.co/t/cant-seem-to-get-geosearch-to-work/8676/1 "2012-08-08T14:59:56Z")

</div>

My indexed data looks like  
{  
"modelName":"Flag\_at\_1\_Boxes|1.1|018968fbdf0510cc2c3fe0dc01ed8850",  
"docType":"data",  
"modelData":[  
{  
"count":"11",  
"location":[  
60.0,  
-150.5  
]  
},  
{  
"count":"3282",  
"location":[  
60.0,  
-151.5  
]  
},  
...  
]  
}

I want to be able to do a point radius search and bounding box but everything I try return 0 hits.  
I am using the fieldname modelData.location. Is this right? Or how would you do a point radius or bounding box search? What is the correct fieldname to use for this dataset in a geo Filter?

I have tried "modelData", "modelData.location", "\*location". I have an array of point but I also need count. Any suggestions?

Thanks in advance

---

<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 6, 2017, 3:17am UTC](https://discuss.elastic.co/t/cant-seem-to-get-geosearch-to-work/8676/2 "2017-07-06T03:17:11Z")

</div>

Closed on July 6, 2017, 3:17am UTC


