# Handle Sepcial char in elasticsearch

**URL:** <https://discuss.elastic.co/t/handle-sepcial-char-in-elasticsearch/254785>\
**Category:** Elasticsearch\
**Created:** [November 9, 2020, 3:46pm UTC](https://discuss.elastic.co/t/handle-sepcial-char-in-elasticsearch/254785 "2020-11-09T15:46:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivesh\_Srivastava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shivesh_srivastava/32/77283_2.png) [@Shivesh\_Srivastava](https://discuss.elastic.co/u/Shivesh_Srivastava)\
**Post date:** [November 9, 2020, 3:46pm UTC](https://discuss.elastic.co/t/handle-sepcial-char-in-elasticsearch/254785/1 "2020-11-09T15:46:04Z")

</div>

My Elasticsearch version is 6.8.3 and  
I am trying to fetch data against the Lucene query which contains filter value as `\\\\*\\abc$`  
I have some code, which handles the special characters and the above filter value is converted into `\\\*\\abc$`  
Please suggest what I am doing wrong.

---

<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, 2020, 3:46pm UTC](https://discuss.elastic.co/t/handle-sepcial-char-in-elasticsearch/254785/2 "2020-12-07T15:46:05Z")

</div>

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