# Elasticsearch Mapping field for Multiple languages Search

**URL:** <https://discuss.elastic.co/t/elasticsearch-mapping-field-for-multiple-languages-search/288762>\
**Category:** Elasticsearch\
**Tags:** async-search\
**Created:** [November 9, 2021, 2:10pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping-field-for-multiple-languages-search/288762 "2021-11-09T14:10:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![faizan.gulzar](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@faizan.gulzar](https://discuss.elastic.co/u/faizan.gulzar)\
**Post date:** [November 9, 2021, 2:10pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping-field-for-multiple-languages-search/288762/1 "2021-11-09T14:10:57Z")

</div>

We are using Elasticsearch (Version 2.3.1) to Search on our website. Company Names are different in different languages like English, German, Polisch, Turkish, etc.

When we search Company Name using English characters, it gives correct desired results. But in the case when we search Company Name with German characters, it does not give correct results.

For Example,  
1. We have Company Name 'Zöch Sungaplast', it is searchable by 'Sungaplast' but not with 'Zöch'.  
2. 2nd example is İlhan Çakır a Turkish name  
3. 3rd example is Zakład a polisch name.

Here is our index setting:

```auto
{
    "cindex": {
        "aliases": {},
        "mappings": {
            "cdata": {
                "properties": {
                    "@timestamp": {
                        "type": "date",
                        "format": "strict_date_optional_time||epoch_millis"
                    },
                    "@version": {
                        "type": "string"
                    },
                    "company_name": {
                        "type": "string",
						"analyzer": "whitespace"                        
                    }                    
                }
            }
        },
        "settings": {
			"index": {
			  "analysis": {
				"analyzer": {
				  "whitespace": {
					"pattern": "\\s+",
					"type": "pattern"
				  },
				  "analyzer_keyword": {
					"filter": "lowercase",
					"type": "custom",
					"tokenizer": "keyword"
				  }
				}
			  },
			  "number_of_shards": "2",
			  "number_of_replicas": "1"
			}
        },
        "warmers": {}
    }
}

```

Can you please recommend that which settings shall be used which make the search work for company names in all languages.

---

<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:** [November 9, 2021, 5:09pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping-field-for-multiple-languages-search/288762/2 "2021-11-09T17:09:00Z")

</div>

Welcome!

We don't support anymore 2.x or 5.x versions.  
You should really upgrade to 7.15.1 ASAP.

---

<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:** [December 7, 2021, 5:09pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping-field-for-multiple-languages-search/288762/3 "2021-12-07T17:09:23Z")

</div>

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