# Common terms query with a mix of phrases & single word terms

**URL:** <https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332>\
**Category:** Elasticsearch\
**Created:** [November 8, 2013, 10:39pm UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332 "2013-11-08T22:39:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brent\_Wheeldon](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@Brent\_Wheeldon](https://discuss.elastic.co/u/Brent_Wheeldon)\
**Post date:** [November 8, 2013, 10:39pm UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332/1 "2013-11-08T22:39:03Z")

</div>

Hi there,

We're trying to get up and running with elasticsearch and are stuck getting  
common search terms with a mix of single words and phrases. My pair just  
tweeted about it and Simon said he may be able to help  
([https://twitter.com/s1m0nw/status/398938278587400192](https://twitter.com/s1m0nw/status/398938278587400192)).

Help?

Thanks!

Brent and Danielle

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)\
**Post date:** [November 8, 2013, 11:05pm UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332/2 "2013-11-08T23:05:04Z")

</div>

Hey,

can you explain what you mean by a mix of single words and phrase? It would  
be great to get more insight into what you are trying to do. I assume you  
mean PhraseQuery but that might be tricky. If you could use shingles as  
well there might be some hope here 🙂

Please elaborate a bit and / or provide an example?

simon

On Friday, November 8, 2013 11:39:03 PM UTC+1, Brent Wheeldon wrote:

> Hi there,
> 
> We're trying to get up and running with elasticsearch and are stuck  
> getting common search terms with a mix of single words and phrases. My pair  
> just tweeted about it and Simon said he may be able to help (  
> [https://twitter.com/s1m0nw/status/398938278587400192](https://twitter.com/s1m0nw/status/398938278587400192)).
> 
> Help?
> 
> Thanks!
> 
> Brent and Danielle

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Brent\_Wheeldon](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@Brent\_Wheeldon](https://discuss.elastic.co/u/Brent_Wheeldon)\
**Post date:** [November 11, 2013, 2:22pm UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332/3 "2013-11-11T14:22:30Z")

</div>

Hi Simon,

Sorry for the delayed reply.

The functionality we are shooting for is exact phrase searching, so  
something like `"bart simpson" burns` would return matches for `bart simpson` and matches for `burns` (we're using OR as our default operator).  
We have this working just fine using a query string query. The next piece  
of functionality that we would like is to filter out stop words. While  
looking into this, we found the common terms query documentation and this  
seems to be a much nicer solution that traditional stop words. However,  
we've spun our wheels a little trying to work out how to retain our exact  
phrase match functionality, and introduce the common terms query. At this  
point, we're just not sure what the best way forward is.

What is the recommended way of getting this done?

Cheers,

Brent

On 8 November 2013 18:05, simonw [simon.willnauer@elasticsearch.com](mailto:simon.willnauer@elasticsearch.com) wrote:

> Hey,
> 
> can you explain what you mean by a mix of single words and phrase? It  
> would be great to get more insight into what you are trying to do. I assume  
> you mean PhraseQuery but that might be tricky. If you could use shingles as  
> well there might be some hope here 🙂
> 
> Please elaborate a bit and / or provide an example?
> 
> simon
> 
> On Friday, November 8, 2013 11:39:03 PM UTC+1, Brent Wheeldon wrote:
> 
> > Hi there,
> > 
> > We're trying to get up and running with elasticsearch and are stuck  
> > getting common search terms with a mix of single words and phrases. My pair  
> > just tweeted about it and Simon said he may be able to help (  
> > [https://twitter.com/s1m0nw/status/398938278587400192](https://twitter.com/s1m0nw/status/398938278587400192)).
> > 
> > Help?
> > 
> > Thanks!
> > 
> > Brent and Danielle
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)\
**Post date:** [November 12, 2013, 7:52pm UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332/4 "2013-11-12T19:52:02Z")

</div>

so if I understand this correctly you want to use phrase matches but remove  
the stopwords our of the phrase? this doesn't make much sense to me since  
it won't really help performance wise. I am afraid the common terms  
functionality is currently not supported for for phrases at all. I might  
not understand what you are trying to do yet so feel free to enlighten me  
🙂 I'd be interested in what the reason for exact phrases is do you want to  
have better precision? Is it a hard requirement and do you have to go  
through the query parser?

simon

On Monday, November 11, 2013 3:22:30 PM UTC+1, Brent Wheeldon wrote:

> Hi Simon,
> 
> Sorry for the delayed reply.
> 
> The functionality we are shooting for is exact phrase searching, so  
> something like `"bart simpson" burns` would return matches for `bart simpson` and matches for `burns` (we're using OR as our default operator).  
> We have this working just fine using a query string query. The next piece  
> of functionality that we would like is to filter out stop words. While  
> looking into this, we found the common terms query documentation and this  
> seems to be a much nicer solution that traditional stop words. However,  
> we've spun our wheels a little trying to work out how to retain our exact  
> phrase match functionality, and introduce the common terms query. At this  
> point, we're just not sure what the best way forward is.
> 
> What is the recommended way of getting this done?
> 
> Cheers,
> 
> Brent
> 
> On 8 November 2013 18:05, simonw \<[simon.w...@elasticsearch.com](mailto:simon.w...@elasticsearch.com)\<javascript:\>
> 
> > wrote:
> 
> > Hey,
> > 
> > can you explain what you mean by a mix of single words and phrase? It  
> > would be great to get more insight into what you are trying to do. I assume  
> > you mean PhraseQuery but that might be tricky. If you could use shingles as  
> > well there might be some hope here 🙂
> > 
> > Please elaborate a bit and / or provide an example?
> > 
> > simon
> > 
> > On Friday, November 8, 2013 11:39:03 PM UTC+1, Brent Wheeldon wrote:
> > 
> > > Hi there,
> > > 
> > > We're trying to get up and running with elasticsearch and are stuck  
> > > getting common search terms with a mix of single words and phrases. My pair  
> > > just tweeted about it and Simon said he may be able to help (  
> > > [https://twitter.com/s1m0nw/status/398938278587400192](https://twitter.com/s1m0nw/status/398938278587400192)).
> > > 
> > > Help?
> > > 
> > > Thanks!
> > > 
> > > Brent and Danielle
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Brent\_Wheeldon](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@Brent\_Wheeldon](https://discuss.elastic.co/u/Brent_Wheeldon)\
**Post date:** [November 12, 2013, 8:03pm UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332/5 "2013-11-12T20:03:09Z")

</div>

Sorry, I'm obviously not doing a great job of describing our situation.

If we assume that `the` is a common word in our index, we have a model  
which has `field_a` and `field_b` indexed with two records, one with `foo bart simpson baz` in field\_a, and one with `burns` in field\_b. When we  
search for `"bart simpson" the burns` we want to see both records in the  
result set.

Is that clearer?

On 12 November 2013 14:52, simonw [simon.willnauer@elasticsearch.com](mailto:simon.willnauer@elasticsearch.com) wrote:

> so if I understand this correctly you want to use phrase matches but  
> remove the stopwords our of the phrase? this doesn't make much sense to me  
> since it won't really help performance wise. I am afraid the common terms  
> functionality is currently not supported for for phrases at all. I might  
> not understand what you are trying to do yet so feel free to enlighten me  
> 🙂 I'd be interested in what the reason for exact phrases is do you want to  
> have better precision? Is it a hard requirement and do you have to go  
> through the query parser?
> 
> simon
> 
> On Monday, November 11, 2013 3:22:30 PM UTC+1, Brent Wheeldon wrote:
> 
> > Hi Simon,
> > 
> > Sorry for the delayed reply.
> > 
> > The functionality we are shooting for is exact phrase searching, so  
> > something like `"bart simpson" burns` would return matches for `bart simpson` and matches for `burns` (we're using OR as our default operator).  
> > We have this working just fine using a query string query. The next piece  
> > of functionality that we would like is to filter out stop words. While  
> > looking into this, we found the common terms query documentation and this  
> > seems to be a much nicer solution that traditional stop words. However,  
> > we've spun our wheels a little trying to work out how to retain our exact  
> > phrase match functionality, and introduce the common terms query. At this  
> > point, we're just not sure what the best way forward is.
> > 
> > What is the recommended way of getting this done?
> > 
> > Cheers,
> > 
> > Brent
> > 
> > On 8 November 2013 18:05, simonw [simon.w...@elasticsearch.com](mailto:simon.w...@elasticsearch.com) wrote:
> > 
> > > Hey,
> > > 
> > > can you explain what you mean by a mix of single words and phrase? It  
> > > would be great to get more insight into what you are trying to do. I assume  
> > > you mean PhraseQuery but that might be tricky. If you could use shingles as  
> > > well there might be some hope here 🙂
> > > 
> > > Please elaborate a bit and / or provide an example?
> > > 
> > > simon
> > > 
> > > On Friday, November 8, 2013 11:39:03 PM UTC+1, Brent Wheeldon wrote:
> > > 
> > > > Hi there,
> > > > 
> > > > We're trying to get up and running with elasticsearch and are stuck  
> > > > getting common search terms with a mix of single words and phrases. My pair  
> > > > just tweeted about it and Simon said he may be able to help (  
> > > > [https://twitter.com/s1m0nw/status/398938278587400192](https://twitter.com/s1m0nw/status/398938278587400192)).
> > > > 
> > > > Help?
> > > > 
> > > > Thanks!
> > > > 
> > > > Brent and Danielle
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > topic/elasticsearch/zznOYCYWnUM/unsubscribe.  
> > > To unsubscribe from this group and all its topics, send an email to  
> > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > 
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)\
**Post date:** [November 12, 2013, 8:38pm UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332/6 "2013-11-12T20:38:21Z")

</div>

ah I see so the problem that I see is that you can only use "phrase  
operation" with the query parser which doesn't support common terms. so  
either you drop the phrase and use maybe shingles to get better precision  
or you filter stopwords in you analysis chain.

simon

On Tuesday, November 12, 2013 9:03:09 PM UTC+1, Brent Wheeldon wrote:

> Sorry, I'm obviously not doing a great job of describing our situation.
> 
> If we assume that `the` is a common word in our index, we have a model  
> which has `field_a` and `field_b` indexed with two records, one with `foo bart simpson baz` in field\_a, and one with `burns` in field\_b. When we  
> search for `"bart simpson" the burns` we want to see both records in the  
> result set.
> 
> Is that clearer?
> 
> On 12 November 2013 14:52, simonw \<[simon.w...@elasticsearch.com](mailto:simon.w...@elasticsearch.com)\<javascript:\>
> 
> > wrote:
> 
> > so if I understand this correctly you want to use phrase matches but  
> > remove the stopwords our of the phrase? this doesn't make much sense to me  
> > since it won't really help performance wise. I am afraid the common terms  
> > functionality is currently not supported for for phrases at all. I might  
> > not understand what you are trying to do yet so feel free to enlighten me  
> > 🙂 I'd be interested in what the reason for exact phrases is do you want to  
> > have better precision? Is it a hard requirement and do you have to go  
> > through the query parser?
> > 
> > simon
> > 
> > On Monday, November 11, 2013 3:22:30 PM UTC+1, Brent Wheeldon wrote:
> > 
> > > Hi Simon,
> > > 
> > > Sorry for the delayed reply.
> > > 
> > > The functionality we are shooting for is exact phrase searching, so  
> > > something like `"bart simpson" burns` would return matches for `bart simpson` and matches for `burns` (we're using OR as our default operator).  
> > > We have this working just fine using a query string query. The next piece  
> > > of functionality that we would like is to filter out stop words. While  
> > > looking into this, we found the common terms query documentation and this  
> > > seems to be a much nicer solution that traditional stop words. However,  
> > > we've spun our wheels a little trying to work out how to retain our exact  
> > > phrase match functionality, and introduce the common terms query. At this  
> > > point, we're just not sure what the best way forward is.
> > > 
> > > What is the recommended way of getting this done?
> > > 
> > > Cheers,
> > > 
> > > Brent
> > > 
> > > On 8 November 2013 18:05, simonw [simon.w...@elasticsearch.com](mailto:simon.w...@elasticsearch.com) wrote:
> > > 
> > > > Hey,
> > > > 
> > > > can you explain what you mean by a mix of single words and phrase? It  
> > > > would be great to get more insight into what you are trying to do. I assume  
> > > > you mean PhraseQuery but that might be tricky. If you could use shingles as  
> > > > well there might be some hope here 🙂
> > > > 
> > > > Please elaborate a bit and / or provide an example?
> > > > 
> > > > simon
> > > > 
> > > > On Friday, November 8, 2013 11:39:03 PM UTC+1, Brent Wheeldon wrote:
> > > > 
> > > > > Hi there,
> > > > > 
> > > > > We're trying to get up and running with elasticsearch and are stuck  
> > > > > getting common search terms with a mix of single words and phrases. My pair  
> > > > > just tweeted about it and Simon said he may be able to help (  
> > > > > [https://twitter.com/s1m0nw/status/398938278587400192](https://twitter.com/s1m0nw/status/398938278587400192)).
> > > > > 
> > > > > Help?
> > > > > 
> > > > > Thanks!
> > > > > 
> > > > > Brent and Danielle
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > topic/elasticsearch/zznOYCYWnUM/unsubscribe.  
> > > > To unsubscribe from this group and all its topics, send an email to  
> > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > 
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe).  
> > > To unsubscribe from this group and all its topics, send an email to  
> > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Brent\_Wheeldon](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@Brent\_Wheeldon](https://discuss.elastic.co/u/Brent_Wheeldon)\
**Post date:** [November 12, 2013, 8:40pm UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332/7 "2013-11-12T20:40:43Z")

</div>

Bummer. Thanks for the info!

On Tuesday, November 12, 2013, simonw wrote:

> ah I see so the problem that I see is that you can only use "phrase  
> operation" with the query parser which doesn't support common terms. so  
> either you drop the phrase and use maybe shingles to get better precision  
> or you filter stopwords in you analysis chain.
> 
> simon
> 
> On Tuesday, November 12, 2013 9:03:09 PM UTC+1, Brent Wheeldon wrote:
> 
> > Sorry, I'm obviously not doing a great job of describing our situation.
> > 
> > If we assume that `the` is a common word in our index, we have a model  
> > which has `field_a` and `field_b` indexed with two records, one with `foo bart simpson baz` in field\_a, and one with `burns` in field\_b. When we  
> > search for `"bart simpson" the burns` we want to see both records in the  
> > result set.
> > 
> > Is that clearer?
> > 
> > On 12 November 2013 14:52, simonw [simon.w...@elasticsearch.com](mailto:simon.w...@elasticsearch.com) wrote:
> > 
> > > so if I understand this correctly you want to use phrase matches but  
> > > remove the stopwords our of the phrase? this doesn't make much sense to me  
> > > since it won't really help performance wise. I am afraid the common terms  
> > > functionality is currently not supported for for phrases at all. I might  
> > > not understand what you are trying to do yet so feel free to enlighten me  
> > > 🙂 I'd be interested in what the reason for exact phrases is do you want to  
> > > have better precision? Is it a hard requirement and do you have to go  
> > > through the query parser?
> > > 
> > > simon
> > > 
> > > On Monday, November 11, 2013 3:22:30 PM UTC+1, Brent Wheeldon wrote:
> > > 
> > > > Hi Simon,
> > > > 
> > > > Sorry for the delayed reply.
> > > > 
> > > > The functionality we are shooting for is exact phrase searching, so  
> > > > something like `"bart simpson" burns` would return matches for `bart simpson` and matches for `burns` (we're using OR as our default operator).  
> > > > We have this working just fine using a query string query. The next piece  
> > > > of functionality that we would like is to filter out stop words. While  
> > > > looking into this, we found the common terms query documentation and this  
> > > > seems to be a much nicer solution that traditional stop words. However,  
> > > > we've spun our wheels a little trying to work out how to retain our exact  
> > > > phrase match functionality, and introduce the common terms query. At this  
> > > > point, we're just not sure what the best way forward is.
> > > > 
> > > > What is the recommended way of getting this done?
> > > > 
> > > > Cheers,
> > > > 
> > > > Brent
> > > > 
> > > > On 8 November 2013 18:05, simonw [simon.w...@elasticsearch.com](mailto:simon.w...@elasticsearch.com) wrote:
> > > > 
> > > > > Hey,
> > > > > 
> > > > > can you explain what you mean by a mix of single words and phrase? It  
> > > > > would be great to get more insight into what you are trying to do. I assume  
> > > > > you mean PhraseQuery but that might be tricky. If you could use shingles as  
> > > > > well there might be some hope here 🙂
> > > > > 
> > > > > Please elaborate a bit and / or provide an example?
> > > > > 
> > > > > simon
> > > > > 
> > > > > On Friday, November 8, 2013 11:39:03 PM UTC+1, Brent Wheeldon wrote:
> > > > > 
> > > > > > Hi there,
> > > > > > 
> > > > > > We're trying to get up and running with elasticsearch and are stuck  
> > > > > > getting common search terms with a mix of single words and phrases. My pair  
> > > > > > just tweeted about it and Simon said he may be able to help (  
> > > > > > [https://twitter.com/s1m0nw/status/398938278587400192](https://twitter.com/s1m0nw/status/398938278587400192)).
> > > > > > 
> > > > > > Help?
> > > > > > 
> > > > > > Thanks!
> > > > > > 
> > > > > > Brent and Danielle
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit [https://groups.google.com/d/to](https://groups.google.com/d/to)  
> > > > > pic/elasticsearch/zznOYCYWnUM/unsubscribe.  
> > > > > To unsubscribe from this group and all its topics, send an email to  
> > > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > 
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > topic/elasticsearch/zznOYCYWnUM/unsubscribe.  
> > > > To unsubscribe from this group and all its topics, send an email to  
> > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/zznOYCYWnUM/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) \<javascript:\_e({}, 'cvml',  
> > 'elasticsearch%2Bunsubscribe@googlegroups.com');\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:07am UTC](https://discuss.elastic.co/t/common-terms-query-with-a-mix-of-phrases-single-word-terms/14332/8 "2017-07-06T02:07:39Z")

</div>


