I have two type of users in my es database, one is registered through the
email and other is from facebook. so based on this I have two type of users
RegisteredUser
FacebookUser
and both the types are having all most the same type of attributes. but
when i apply even a simple query in facebookuser like a term query say :
{"query":
{"term":
{"home_city_id" :198763
}
}
}
its not giving the results although same queries are working fine with
other type (RegisteredUser).
Currently I am using 0.19.4 version of elasticsearch. Can anyone please
help me what can be the problem & why this particular type is not
searchable.