# How to dis\_max, disjunction, OR, either-or query in kabana

**URL:** <https://discuss.elastic.co/t/how-to-dis-max-disjunction-or-either-or-query-in-kabana/62987>\
**Category:** Kibana\
**Created:** [October 13, 2016, 7:36pm UTC](https://discuss.elastic.co/t/how-to-dis-max-disjunction-or-either-or-query-in-kabana/62987 "2016-10-13T19:36:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasona](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jasona](https://discuss.elastic.co/u/jasona)\
**Post date:** [October 13, 2016, 7:36pm UTC](https://discuss.elastic.co/t/how-to-dis-max-disjunction-or-either-or-query-in-kabana/62987/1 "2016-10-13T19:36:56Z")

</div>

I have a non-analyzed property field that has 20+ different attribute values.

How do I request that kibana show me either attributeValue1 or attributeValue2?

I can easily click on the magnifying-glass-with-the-plus sign to make a filter for each. But then the two filters cancel each other out, because the defalut is to AND the filters together in a conjunction. I want to be able to OR the filters together in a disjunction. Is this possible?

Thanks!  
J

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [October 13, 2016, 10:32pm UTC](https://discuss.elastic.co/t/how-to-dis-max-disjunction-or-either-or-query-in-kabana/62987/2 "2016-10-13T22:32:45Z")

</div>

You can't do OR matches using the filters, but I believe you can do it in the query bar, using something like:

`fieldName: attributeValue1 OR attributeValue2`

---

<div class="post-metadata">

**Author:** ![jasona](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jasona](https://discuss.elastic.co/u/jasona)\
**Post date:** [October 15, 2016, 3:08am UTC](https://discuss.elastic.co/t/how-to-dis-max-disjunction-or-either-or-query-in-kabana/62987/3 "2016-10-15T03:08:12Z")

</div>

That works. Thanks, Joe.

---

<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 6, 2017, 1:36pm UTC](https://discuss.elastic.co/t/how-to-dis-max-disjunction-or-either-or-query-in-kabana/62987/4 "2017-07-06T13:36:32Z")

</div>


