# \# sign getting ignored

**URL:** https://discuss.elastic.co/t/sign-getting-ignored/43892
**Category:** Kibana
**Created:** [March 9, 2016, 12:33pm UTC](https://discuss.elastic.co/t/sign-getting-ignored/43892 "2016-03-09T12:33:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![elastic-fan](https://avatars.discourse-cdn.com/v4/letter/e/779978/32.png) [@elastic-fan](https://discuss.elastic.co/u/elastic-fan)
#### Post date: [March 9, 2016, 12:33pm UTC](https://discuss.elastic.co/t/sign-getting-ignored/43892/1 "2016-03-09T12:33:16Z")

</div>

i have a field which has the value that contains string with # and then a number i.e searc#1 , searc#2 and so on. But when i display this in kibana i am getting only the number i.e 1 , 2 and so on. the hash and the names are getting ignored, is there a work around for this

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [March 9, 2016, 7:25pm UTC](https://discuss.elastic.co/t/sign-getting-ignored/43892/2 "2016-03-09T19:25:58Z")

</div>

Your field is probably mapped as an [analyzed string](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-index.html). You'll want to either change it to `not_analyzed`, or create a [multi-field](https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html) so that you get both an analyzed and not\_analyzed copy.

If you're using logstash for ingestion, your string fields should already be set up as multifields, in which case you should try aggregating on the field called `[fieldName].raw` with fieldName being the base name of your field.

---

<div class="post-metadata">

### Author: ![elastic-fan](https://avatars.discourse-cdn.com/v4/letter/e/779978/32.png) [@elastic-fan](https://discuss.elastic.co/u/elastic-fan)
#### Post date: [March 10, 2016, 1:01pm UTC](https://discuss.elastic.co/t/sign-getting-ignored/43892/3 "2016-03-10T13:01:01Z")

</div>

how to change analyzed to not\_analyzed 😊

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [March 10, 2016, 2:47pm UTC](https://discuss.elastic.co/t/sign-getting-ignored/43892/4 "2016-03-10T14:47:17Z")

</div>

Unfortunately you can't generally just update the mapping for a field. You'll have to create a new index with the proper mappings for that field:

[https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html#mappings](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html#mappings)

After that you'll need to re-index your data into this new index.

---

<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, 1:59pm UTC](https://discuss.elastic.co/t/sign-getting-ignored/43892/5 "2017-07-06T13:59:34Z")

</div>


