# Phrase Search with Proximity

**URL:** <https://discuss.elastic.co/t/phrase-search-with-proximity/17463>\
**Category:** Elasticsearch\
**Created:** [May 12, 2014, 3:10pm UTC](https://discuss.elastic.co/t/phrase-search-with-proximity/17463 "2014-05-12T15:10:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![K\_Chenette](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@K\_Chenette](https://discuss.elastic.co/u/K_Chenette)\
**Post date:** [May 12, 2014, 3:10pm UTC](https://discuss.elastic.co/t/phrase-search-with-proximity/17463/1 "2014-05-12T15:10:50Z")

</div>

What is the best way for us to perform a phrase search where we are  
concerned with the proximity between phrases (not terms)? I have looked at  
Match Query and Query String Query and I see how slop allows for Proximity  
between individual terms but we need to be able to do this at the level of  
phrases like: "Quick Brown Fox" NEAR(50) "Flying Squirrel"

Thanks.  
-- Karen

--  
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/d1282168-fd85-4800-9b3c-08fd2ac848db%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d1282168-fd85-4800-9b3c-08fd2ac848db%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, 1:30am UTC](https://discuss.elastic.co/t/phrase-search-with-proximity/17463/2 "2017-07-06T01:30:05Z")

</div>


