# Error using Proximity Search on Discover

**URL:** <https://discuss.elastic.co/t/error-using-proximity-search-on-discover/169218>\
**Category:** Elasticsearch\
**Created:** [February 20, 2019, 1:15pm UTC](https://discuss.elastic.co/t/error-using-proximity-search-on-discover/169218 "2019-02-20T13:15:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MLMarins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mlmarins/32/41737_2.png) [@MLMarins](https://discuss.elastic.co/u/MLMarins)\
**Post date:** [February 20, 2019, 1:15pm UTC](https://discuss.elastic.co/t/error-using-proximity-search-on-discover/169218/1 "2019-02-20T13:15:05Z")

</div>

Hi!

I'm trying to create and test queries on Discover, but when using proximity searches I get this error message.

For sake of simplicity, I tested the example provided by Elasticsearch:  
"fox quick"~5

`Error Discover: Expected [\ \t\r\n] or end of input but "~" found. More Info OK`

Thanks

---

<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:** [March 20, 2019, 1:15pm UTC](https://discuss.elastic.co/t/error-using-proximity-search-on-discover/169218/2 "2019-03-20T13:15:09Z")

</div>

Closed on March 20, 2019, 1:15pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
