# Dictionary for Compound filter

**URL:** <https://discuss.elastic.co/t/dictionary-for-compound-filter/21695>\
**Category:** Elasticsearch\
**Created:** [January 16, 2015, 6:29pm UTC](https://discuss.elastic.co/t/dictionary-for-compound-filter/21695 "2015-01-16T18:29:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pictor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pictor/32/46201_2.png) [@Pictor](https://discuss.elastic.co/u/Pictor)\
**Post date:** [January 16, 2015, 6:29pm UTC](https://discuss.elastic.co/t/dictionary-for-compound-filter/21695/1 "2015-01-16T18:29:35Z")

</div>

Hi,

I'm setting up the mapping for an index and I have a field containing long German texts.  
I would like to use the Compound Filter to divide the words, so that I could find results also for the "sub-words".

The question is:

- where I can find a good dictionary to use for German?
- (but mainly) what should be the format of this file? A specific extension? One word per line? A comma-separated-values list without line breaks?  
I found a dictionary but has a format like this:

Äbte/N  
Äbtissin/F  
Ächtens  
Ächtung/P  
Äcker/N  
Äderchen/S  
Äffin/F  
Ägide  
Ägypten/S  
Ägypter/FNS

And I don't really understand the meaning of the suffix after the slash; and I wonder if Elasticsearch will instead.  
Where can I read more specification about how the dictionary needs to be?

---

<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, 12:38am UTC](https://discuss.elastic.co/t/dictionary-for-compound-filter/21695/2 "2017-07-06T00:38:20Z")

</div>


