Multi types search & find by field only in one Type

Hello, please how to search in index and two types where if condition on first type. Sorry for my language, i have a czech :smiley:

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 :slight_smile:

Hi Lukáš,

Do you think you can express your search expression using SQL statement? It could help explain how exactly you need to filter your documents. For example what filed do you want to execute the term search against?

Regards,
Lukáš Vlček

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.