Noebas
(Noebas)
August 9, 2019, 9:49am
1
I'am struggeling to get the filter working.
This filter is working but i like to match mutliple tags and can not find how to do this.
Can i use a OR in the bool filter?
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html
{ "bool":{"must":{"match":{"tags":"value" }}}}
Hi @Noebas ,
How about something like this?
"bool": {
"should": [
{
"match": {
"tags.keyword": "value1"
}
},
{
"match": {
"tags.keyword": "value2"
}
}
],
"minimum_should_match": 1
}
And I'm redirecting question to another hub as it feels more like Elasticsearch question, not specific to Kibana.
Best,
Oleg
system
(system)
Closed
September 6, 2019, 12:15pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.