# Multilingual elastisearch most relevant language

**URL:** <https://discuss.elastic.co/t/multilingual-elastisearch-most-relevant-language/26948>\
**Category:** Elasticsearch\
**Created:** [August 6, 2015, 7:09am UTC](https://discuss.elastic.co/t/multilingual-elastisearch-most-relevant-language/26948 "2015-08-06T07:09:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicocsgamer](https://avatars.discourse-cdn.com/v4/letter/n/898d66/32.png) [@nicocsgamer](https://discuss.elastic.co/u/nicocsgamer)\
**Post date:** [August 6, 2015, 7:09am UTC](https://discuss.elastic.co/t/multilingual-elastisearch-most-relevant-language/26948/1 "2015-08-06T07:09:08Z")

</div>

I would like to store multilingual documents, perform full text search on all documents in all languages, and in search results if a match is found in multiple languages for the same document, I would like to keep only the most relevant language.

To store documents in multiple languages there is already multiple posts regarding this topic (Multilingual elasticsearch indexing best practice/experiences): - option1: one index by language - option2: multi\_field/separate fields

So with option1 the search result could contains: - doc1\_en - doc1\_fr

How to remove duplicates ?

With option2 the search result will contains only one result but how to identify the most relevant language ?

Thx.

---

<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 5, 2017, 11:57pm UTC](https://discuss.elastic.co/t/multilingual-elastisearch-most-relevant-language/26948/2 "2017-07-05T23:57:10Z")

</div>


