How to dis_max, disjunction, OR, either-or query in kabana


(JasonA) #1

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


(Joe Fleming) #2

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


(JasonA) #3

That works. Thanks, Joe.


(system) #4