# Can one do a singular/plural phrase match with the Query String Query?

**URL:** <https://discuss.elastic.co/t/can-one-do-a-singular-plural-phrase-match-with-the-query-string-query/18771>\
**Category:** Elasticsearch\
**Created:** [July 21, 2014, 6:53pm UTC](https://discuss.elastic.co/t/can-one-do-a-singular-plural-phrase-match-with-the-query-string-query/18771 "2014-07-21T18:53:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbrianjones](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbrianjones/32/1402_2.png) [@tbrianjones](https://discuss.elastic.co/u/tbrianjones)\
**Post date:** [July 21, 2014, 6:53pm UTC](https://discuss.elastic.co/t/can-one-do-a-singular-plural-phrase-match-with-the-query-string-query/18771/1 "2014-07-21T18:53:05Z")

</div>

Can one perform the following query using wildcards ( instead of two  
distinct phrases ) when using a Query String Query?  
"photographic film" OR "photographic films"

These do not seem to work, and return the same number of results as just "photographic  
film":  
"photographic film?"  
"photographic film\*"

Can wildcards not be placed inside Exact Phrase queries? Is there a way to  
mimic this?

My goal is to be able to perform queries like this:  
"photo\* film?"

... capturing:  
"photo film"  
"photo films"  
"photographic films"  
"photography films"  
etc...

--  
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/66cc151f-a235-40d4-a125-2236aae0f9bf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/66cc151f-a235-40d4-a125-2236aae0f9bf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 21, 2014, 7:34pm UTC](https://discuss.elastic.co/t/can-one-do-a-singular-plural-phrase-match-with-the-query-string-query/18771/2 "2014-07-21T19:34:25Z")

</div>

I think a stemmer analyzer would be fit your use case: See [http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/choosing-a-stemmer.html#choosing-a-stemmer](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/choosing-a-stemmer.html#choosing-a-stemmer)

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 21 juillet 2014 à 20:53:09, Brian Jones ([tbrianjones@gmail.com](mailto:tbrianjones@gmail.com)) a écrit:

Can one perform the following query using wildcards ( instead of two distinct phrases ) when using a Query String Query?  
"photographic film" OR "photographic films"

These do not seem to work, and return the same number of results as just "photographic film":  
"photographic film?"  
"photographic film\*"

Can wildcards not be placed inside Exact Phrase queries? Is there a way to mimic this?

My goal is to be able to perform queries like this:  
"photo\* film?"

## ... capturing: "photo film" "photo films" "photographic films" "photography films" etc...

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/66cc151f-a235-40d4-a125-2236aae0f9bf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/66cc151f-a235-40d4-a125-2236aae0f9bf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/etPan.53cd6b41.19495cff.e03c%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.53cd6b41.19495cff.e03c%40MacBook-Air-de-David.local).  
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:14am UTC](https://discuss.elastic.co/t/can-one-do-a-singular-plural-phrase-match-with-the-query-string-query/18771/3 "2017-07-06T01:14:26Z")

</div>


