Like Alex mentioned, I would check all the mappings to ensure the types of the id field are all the same (doesn't matter what the value is in it - what matters is the type defined in the mapping). Your error message means: in one type the id field is long (in the mapping), and in the other type the id field is int (in the mapping). And you are querying across those 2 types which gives this error.
-- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5a86eafd-5c0f-4895-be49-650dca9db892%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.