# Lucene query with geospatial

**URL:** <https://discuss.elastic.co/t/lucene-query-with-geospatial/20721>\
**Category:** Elasticsearch\
**Created:** [November 13, 2014, 10:58am UTC](https://discuss.elastic.co/t/lucene-query-with-geospatial/20721 "2014-11-13T10:58:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aris\_Alexis](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@Aris\_Alexis](https://discuss.elastic.co/u/Aris_Alexis)\
**Post date:** [November 13, 2014, 10:58am UTC](https://discuss.elastic.co/t/lucene-query-with-geospatial/20721/1 "2014-11-13T10:58:02Z")

</div>

Hi,

I am using Titan with Elastic search. titan supports the lucene query  
syntax but I couldn't find information how to use it with spatial.

I want to look for documents matching a text and are within given distance.  
let's say the geofield is called location.

queryString=text:("random") AND location:???

thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/cd68379d-f229-4cce-906a-31e733dafdde%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cd68379d-f229-4cce-906a-31e733dafdde%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:50am UTC](https://discuss.elastic.co/t/lucene-query-with-geospatial/20721/2 "2017-07-06T00:50:18Z")

</div>


