Some types are not searchable


(narinder.izap) #1

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.


(Clinton Gormley) #2

its not giving the results although same queries are working fine with
other type (RegisteredUser).

From the limited info you have provided, we have no way of knowing what
the problem is.

Please see http://www.elasticsearch.org/help and follow the instructions
for gisting a complete (but short) recreation


(system) #3