# Same output when searching exact phrase in Discovery search

**URL:** <https://discuss.elastic.co/t/same-output-when-searching-exact-phrase-in-discovery-search/263248>\
**Category:** Elasticsearch\
**Created:** [February 4, 2021, 2:09pm UTC](https://discuss.elastic.co/t/same-output-when-searching-exact-phrase-in-discovery-search/263248 "2021-02-04T14:09:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nastymajestic](https://avatars.discourse-cdn.com/v4/letter/n/ad7895/32.png) [@nastymajestic](https://discuss.elastic.co/u/nastymajestic)\
**Post date:** [February 4, 2021, 2:09pm UTC](https://discuss.elastic.co/t/same-output-when-searching-exact-phrase-in-discovery-search/263248/1 "2021-02-04T14:09:00Z")

</div>

I'm trying to search for exact phrase in Discovery tab. In "message" field I'm trying to search for "transactionId:" phrase (with quotation marks) and when I search for it like this:  
`"message": "\"transactionId\"\:"`

It of course show me the correct output but if I want to search it like this:  
` "message": "\"transactionId\ ; \ "`

should NOT return anything, but returns the same. as:

` "message": "\"transactionId\"\:"`

![Screenshot 2021-02-04 at 15.39.24](https://us1.discourse-cdn.com/elastic/original/3X/1/2/1268df51a60641d747bfd77c438957f16d1c21d2.png)

How to search for exact phrases when they have special symbols and is this a problem with Analyzer?

---

<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:** [March 4, 2021, 2:09pm UTC](https://discuss.elastic.co/t/same-output-when-searching-exact-phrase-in-discovery-search/263248/2 "2021-03-04T14:09:45Z")

</div>

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