David,
This is what I use. I hope it helps.
{
"*bool*" : {
"*must*" : [ {
"match" : {
"field_a" : {
"query" : "val1",
"type" : "boolean"
}
}
}, {
"match" : {
"field_b" : {
"query" : "val2",
"type" : "boolean"
}
}
} ]
}
}
Brian
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/64aa8c31-2002-4432-bd7f-5c9bba3184da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.