since ‎24-09-2020
‎23-11-2020
pjinfo
Level 1
Re: search inside a page content and the content of the c...
Avatar

pjinfo

pjinfo
- Adobe Experience Manager
I got your point and this is what I was thinking of, but do you have any implementation sample which you can share. Atleast I need a query in which a subquery can also be passed.

Views

149

Likes

0

Replies

0
search inside a page content and the content of the content fragment used inside the page
Avatar

pjinfo

pjinfo
- Adobe Experience Manager
Hello, I have a requirement to search any content inside all the pages of a website. I have written a query like SELECT * FROM [cq:PageContent] AS content WHERE ISDESCENDANTNODE('/content/pathoftheproject') and contains(content.*, 'search_keyword') This query is searching for a keyword which is within the page content. But most of the page content is residing inside the content fragment which is referred in the page. The seach query is not performing search within the content of the page content...

Views

195

Likes

0

Replies

4