# Conditional use of stemmer

**URL:** <https://discuss.elastic.co/t/conditional-use-of-stemmer/189214>\
**Category:** Elasticsearch\
**Created:** [July 6, 2019, 6:29pm UTC](https://discuss.elastic.co/t/conditional-use-of-stemmer/189214 "2019-07-06T18:29:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![doublemax](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@doublemax](https://discuss.elastic.co/u/doublemax)\
**Post date:** [July 6, 2019, 6:29pm UTC](https://discuss.elastic.co/t/conditional-use-of-stemmer/189214/1 "2019-07-06T18:29:10Z")

</div>

Simplified:

```auto
{
    "language": "de",
    "title": "...",
    "description": "..."
}

```

Is there a chance to apply the `german` stemmer to `title` and `description`?  
Because the condition `if doc['language'] == 'de'` is true?  
Best wishes

---

<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:** [August 3, 2019, 6:29pm UTC](https://discuss.elastic.co/t/conditional-use-of-stemmer/189214/2 "2019-08-03T18:29:14Z")

</div>

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