I will try to change it, by moving this into one of the mapping fields. The same query was working using  _uid instead of _id in 5.5. Was there any change in 6.x? which affected this query.

Can you please explain me why is this a bad idea ?. Is this going to affect any performance?