Thanks for the response. We already has index for this query, which search only at one path - SELECT p.* FROM [cq:PageContent] AS p WHERE ISDESCENDANTNODE(p,[/content/AA]) AND ( CONTAINS(p.[cq:tags], ‘”testAA”) ) But due to one of the requirement, we have to search at 2 paths now, hence we updated ...