# Lucene query syntax of exact match query in Kibana Discover view

**URL:** <https://discuss.elastic.co/t/lucene-query-syntax-of-exact-match-query-in-kibana-discover-view/219297>\
**Category:** Kibana\
**Created:** [February 14, 2020, 1:09am UTC](https://discuss.elastic.co/t/lucene-query-syntax-of-exact-match-query-in-kibana-discover-view/219297 "2020-02-14T01:09:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_C.H\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_c.h_wang/32/54310_2.png) [@Michael\_C.H\_Wang](https://discuss.elastic.co/u/Michael_C.H_Wang)\
**Post date:** [February 14, 2020, 1:09am UTC](https://discuss.elastic.co/t/lucene-query-syntax-of-exact-match-query-in-kibana-discover-view/219297/1 "2020-02-14T01:09:45Z")

</div>

Hi,  
I might have an index with two created Available Fields "Product" and "Bom" and other default ones like \_id, \_index, Bom is a string like "260-70-0002-00 650-66-0009-00 560-34-0106-00 560-34-0106-00 560-34-0211-00..." and indexed by whitespace analyzer. If I would run an exact match query which refers to Stackoverflow [example](https://stackoverflow.com/questions/39944144/elastic-search-exact-match-query-on-string-array) in Kibana Discover view, if anybody can comment if it's feasible and how would be the syntax.

---

<div class="post-metadata">

**Author:** ![Michael\_C.H\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_c.h_wang/32/54310_2.png) [@Michael\_C.H\_Wang](https://discuss.elastic.co/u/Michael_C.H_Wang)\
**Post date:** [February 14, 2020, 5:22am UTC](https://discuss.elastic.co/t/lucene-query-syntax-of-exact-match-query-in-kibana-discover-view/219297/2 "2020-02-14T05:22:07Z")

</div>

I find myself this discussion might help.

> [@String query - exact string](https://discuss.elastic.co/t/string-query-exact-string/176883):
>
> Hello everyone: I m doing the following filtering: beat.hostname:APS01 AND program\_name:"deadline" And I get the results: Unfortunately, I don't want to include "deadline\_balancer" here. When I filter: "beat.hostname:APS01 AND program\_name:"deadline\_balancer" it's all good: Can you please let me know how to accomplish this? The only Info I found in the documentation is: "To search for an exact string, you need to wrap the string in double quotation marks. Without quotation…

---

<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 13, 2020, 5:22am UTC](https://discuss.elastic.co/t/lucene-query-syntax-of-exact-match-query-in-kibana-discover-view/219297/3 "2020-03-13T05:22:11Z")

</div>

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