# Elasticsearch query search with special characters

**URL:** <https://discuss.elastic.co/t/elasticsearch-query-search-with-special-characters/127805>\
**Category:** Elasticsearch\
**Created:** [April 12, 2018, 11:37am UTC](https://discuss.elastic.co/t/elasticsearch-query-search-with-special-characters/127805 "2018-04-12T11:37:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![onkar](https://avatars.discourse-cdn.com/v4/letter/o/50afbb/32.png) [@onkar](https://discuss.elastic.co/u/onkar)\
**Post date:** [April 12, 2018, 11:37am UTC](https://discuss.elastic.co/t/elasticsearch-query-search-with-special-characters/127805/1 "2018-04-12T11:37:03Z")

</div>

We have the subset of field value as {"id":"193d4489dc545bb930dfd5ef0030514260e0a610"}. Field type is set as text with default analyzer. We want to search as Key:value (e.g., \"id\":\"193d4489dc545bb930dfd5ef0030514260e0a610\"). But ":" is not working and nothing is getting matched. However, id and 193d4489dc545bb930dfd5ef0030514260e0a610 individually are getting matched. How can we search like this? Which analyzer will be of use?

---

<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:** [May 10, 2018, 11:43am UTC](https://discuss.elastic.co/t/elasticsearch-query-search-with-special-characters/127805/3 "2018-05-10T11:43:17Z")

</div>

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