I am using Query Builder to develop a search in a website. I was looking some tutorials and I cannot find many tutorials with complex queries.
I want to group my instructions with an AND predicate, and on my case I will have three groups, that has an OR predicate between then.
In resume, all the instructions of group A must satify OR all the results of group B must satisfy OR all the results of group C must satisfy
(GroupA.condition && GroupA.condition2 && GroupA.condition3) OR (GroupB.condition && GroupB.condition2 && GroupB.condition3) OR (GroupC.condition && GroupC.condition2 && GroupC.condition3)
PS: I am developing using Query Builder Debugger Tool
I appreciate any help
Thank you very much!
this query will return result if (jcr:created==admin AND jcr:title ==Travel ) OR (jcr:primaryType == cq:PageContent)
hope this will help.