AEM query builder with mutiple types 6.5
Hi ,
I need to build query with different type and property
Could some one help me on this
1>I have a property called as pagetitle under type cq:PageContent
2>I have a property called as text under type nt:unstructured which also should match a sling property to avoid too much traversing of nodes
3> I would need a OR opertion for this 2 different type
So wrote the query as below using querydebug.html but it does not give what i require
path=/content/project/us/en/computers/handheld/
orderby=@jcr:score
2_group.1_type=nt:unstructured
2_group.1_property=text
2_group.1_property.1_value=%battery%
2_group.1_property.2_value=%Battery%
2_group.1_property.operation=like
2_group.2_property=sling:resourceType
2_group.2_property.1_value=project/components/apps/text
2_group.2_type=cq:PageContent
2_group.2_property=pageTitle
2_group.2_property.1_value=%battery%
2_group.2_property.2_value=%Battery%
2_group.2_property.operation=like
2_group.p.or=true
Regards,
Srinivas
