# How to force excludes to include plural or possessives

**URL:** <https://discuss.elastic.co/t/how-to-force-excludes-to-include-plural-or-possessives/170606>\
**Category:** Elasticsearch\
**Created:** [March 2, 2019, 11:45pm UTC](https://discuss.elastic.co/t/how-to-force-excludes-to-include-plural-or-possessives/170606 "2019-03-02T23:45:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steelliberty](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@steelliberty](https://discuss.elastic.co/u/steelliberty)\
**Post date:** [March 2, 2019, 11:45pm UTC](https://discuss.elastic.co/t/how-to-force-excludes-to-include-plural-or-possessives/170606/1 "2019-03-02T23:45:02Z")

</div>

Hello :

First I apologize if am asking my question to the incorrect audience. I do not see an elasticsearch\_dsl.py forum.

I am using elasticsearch\_dsl.py and want to exclude terms from the query results. For example if you wanted to exclude the name Maduro from the search, currently it will not exclude similar and close words such as Maduro’s or Maduro's . I cannot see how to to use fuzziness for excludes in elasticsearch\_dsp.py or to apply filters such as snowball to the exclude and presumably filter match searches.

So from the elasticsearch\_dsl python manual :

client = Elasticsearch()

s = Search(using=client, index="my-index")   
.filter("term", category="search")   
.query("match", title="python")   
.exclude("match", description="beta")

the above .exclude("match", description="beta") would not exclude betas or beta's

Thank you for any suggestions.

---

<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 30, 2019, 11:45pm UTC](https://discuss.elastic.co/t/how-to-force-excludes-to-include-plural-or-possessives/170606/2 "2019-03-30T23:45:11Z")

</div>

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