I'm trying to make a query like this:

{
"query" :{
"filtered" :{
"query" :{
"multi_match" : {
"query" : "Vonder Carregador de Baterias CBV 0900 - 110V",
"fields" : [ "nome^10", "descricao" ],
"operator" : "or"
}
},
"filter" : {
"bool" : {
"must" : [
{"term" : { "ativo" : 1 }},
{"term" : {"id_instancia": "Master_cleaner"}},
]
}
}
}
}
}
But when I filter some term with "_" it doesn't work.
 

-- 
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/481d9ee8-f5f0-43b2-a54d-06d9a6f25ae7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to