Hello, please how to search in index and two types where if condition on first type. Sorry for my language, i have a czech 
I have an types Project and User and Project have fields {id, name, desc, visible} and User have fields {id, name, email}.
Result must have all Project where term = a and visible = 1 and all User where term = a without visible = 1.
Thanks all for help my problem 