AEM SQL query issue
Hello,
I want to search the nodes on 2 different paths. For example -> /content/AA and /content/BB. The below query works fine
SELECT p.* FROM [cq:PageContent] AS p WHERE ( ISDESCENDANTNODE(p,[/content/AA]) OR ISDESCENDANTNODE(p,[/content/BB]) ) AND ( CONTAINS(p.[cq:tags], ‘”testAA”) )
but throws the below exception in the logs
"org.apache.jackrabbit.oak.query.QueryImpl Fulltext query without index for filter Filter"
Adobe document suggests to improve the query if we get the above exception.
What is the best way to form a query to search in 2 different paths ? Any suggestions.
Thanks !!