# Field shown as Analysed even when set as not\_analysed

**URL:** <https://discuss.elastic.co/t/field-shown-as-analysed-even-when-set-as-not-analysed/88527>\
**Category:** Elasticsearch\
**Created:** [June 7, 2017, 7:38am UTC](https://discuss.elastic.co/t/field-shown-as-analysed-even-when-set-as-not-analysed/88527 "2017-06-07T07:38:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vignesh\_Kalai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vignesh_kalai/32/18864_2.png) [@Vignesh\_Kalai](https://discuss.elastic.co/u/Vignesh_Kalai)\
**Post date:** [June 7, 2017, 7:38am UTC](https://discuss.elastic.co/t/field-shown-as-analysed-even-when-set-as-not-analysed/88527/1 "2017-06-07T07:38:26Z")

</div>

I have created an index named full\_repo using below mappings.

```
{
	"template": "full_repo",
	"settings": {
		"index": {
			"analysis": {
				"analyzer": {
					"lowercase_keyword": {
						"tokenizer": "keyword",
						"char_filter": ["punctuation_filter", "sapce_filter"],
						"filter": ["lowercase", "trim"]
					}
				},
				"char_filter": {
					"punctuation_filter": {
						"type": "pattern_replace",
						"pattern": "\\p{Punct}",
						"replacement": ""
					},
					"sapce_filter": {
						"type": "pattern_replace",
						"pattern": "\\s+",
						"replacement": " "
					}
				}
			}
		}
	},
	"mappings": {
		"_default_": {
			"dynamic_templates": [{
				"string_fields": {
					"match_mapping_type": "string",
					"match": "^(?!message|Email_2|Phone_2|DESCRIPTION).*$",
					"match_pattern": "regex",
					"mapping": {
						"type": "text",
						"fields": {
							"raw": {
								"index": "not_analyzed",
								"type": "text",
								"analyzer": "lowercase_keyword"
							}
						}
					}
				}
			}]
		}
	}
}

```

The issue is in Kibana every fields seems to be analyzed field even-though I gave it has not analyzed.

---

<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, 7:38am UTC](https://discuss.elastic.co/t/field-shown-as-analysed-even-when-set-as-not-analysed/88527/2 "2017-07-05T07:38:29Z")

</div>

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