Hi all
How to write single field with multiple value in nested query.
example : node.name ["a","b"]
"nested" : {
"query" : {
"bool" : {
"must" : [
{
"match" : {
"services.code" : {
"query" : "bbbbbbbb",
"operator" : "OR",
"prefix_length" : 0,
"max_expansions" : 50,
"fuzzy_transpositions" : true,
"lenient" : false,
"zero_terms_query" : "NONE",
"auto_generate_synonyms_phrase_query" : true,
"boost" : 1.0
}
}
},
{
"match" : {
"services.code" : {
"query" : "aaaaaaaa",
"operator" : "OR",
"prefix_length" : 0,
"max_expansions" : 50,
"fuzzy_transpositions" : true,
"lenient" : false,
"zero_terms_query" : "NONE",
"auto_generate_synonyms_phrase_query" : true,
"boost" : 1.0
}
}
},