# Unable to fetch exact result at first when searching with special charecters

**URL:** <https://discuss.elastic.co/t/unable-to-fetch-exact-result-at-first-when-searching-with-special-charecters/235584>\
**Category:** Elasticsearch\
**Created:** [June 3, 2020, 3:06pm UTC](https://discuss.elastic.co/t/unable-to-fetch-exact-result-at-first-when-searching-with-special-charecters/235584 "2020-06-03T15:06:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mallikarjuna.manne](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mallikarjuna.manne](https://discuss.elastic.co/u/mallikarjuna.manne)\
**Post date:** [June 3, 2020, 3:06pm UTC](https://discuss.elastic.co/t/unable-to-fetch-exact-result-at-first-when-searching-with-special-charecters/235584/1 "2020-06-03T15:06:39Z")

</div>

Hello mates,

When I used the following query It unable to fetch the exact result even though data existed.  
**{"query": {"query\_string": {"query": "column1:(1.3 \"@\")"}}}**  
This query is fetching results that are only having '1.3'.

Whereas in the following case it's working fine. It can able to fetch the rows that are having both '@' and '1.3'  
{"query": {"query\_string": {"query": "\"@\"1.3"}}}

But, I wanna use column names in a query. So, Can anyone help me to create a query with special characters and column names?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![mallikarjuna.manne](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mallikarjuna.manne](https://discuss.elastic.co/u/mallikarjuna.manne)\
**Post date:** [June 15, 2020, 11:00am UTC](https://discuss.elastic.co/t/unable-to-fetch-exact-result-at-first-when-searching-with-special-charecters/235584/2 "2020-06-15T11:00:49Z")

</div>

I was tried several ways... Can anyone help me to get my desired output?

---

<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 13, 2020, 11:00am UTC](https://discuss.elastic.co/t/unable-to-fetch-exact-result-at-first-when-searching-with-special-charecters/235584/3 "2020-07-13T11:00:54Z")

</div>

Closed on July 13, 2020, 11:00am UTC

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