I am having an issue in creating a query to search multiple node types.
The requirement is to query documents/pages of the type dam:Asset and cq:Page present under a path.
I tried the following code snippet with no luck .
I was able to write a query with single type. However i could not find any documents/ materials with multipe types as shown above.
Thanks in advance.
I don't think multiple type is possible. Instead use super type like nt:base that will cover both page and asset.
Thanks Yogesh. This helped. Its working now.
Multiple node types are not present in Query builder but you can use property predicates on "jcr:primaryType" property and do the same.