Hi Team
I am firing below must match query. I need the data if below 3 conditions are met
GET /std_index/std_type/_search
{"query":{
"bool":
{"must":[
{"match":{"std_id":"10002"}},
{"match":{"user_type":"2"}},
{"match":{"email_adr":"new90suneelmail@some.com"}}
]
}
}
}
But It's fetching data even three match conditions not yet met.
out put is
{
"took": 16,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 1,
"max_score": 0.5457982,
"hits": [
{
"_index": "std_index",
"_type": "std_type",
"_id": "AV3glvaiYewAq_K9goWm",
"_score": 0.5457982,
"_source": {
"user_created_by": "skodari",
"create_tms": "2017-08-14T07:52:56.174Z",
"exp_tms": "2017-08-14T09:06:55.007Z",
"first_name": "NeBayya",
"last_name": "NeSuneel",
"email_adr": "new4suneelmail@some.com",
"sms_adr": "fresh.att.net",
"std_id": "10002",
"user_type": "2",
}
}
]
}
}
may I know why we are getting this record, even the
{"match":{"email_adr":"new90suneelmail@some.com"}}
condition not yet met ?
can anyone please help into this ?
Thanks Preformatted text