Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.5.4 Query predicate fulltext with type cq:Page does not search query term under all the child nodes but only to a certain depth

Avatar

Avatar
Level 1
akashdeepm
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
akashdeepm
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
akashdeepm
Level 1

08-04-2021

My current query with predicate type=cq:Page does not finds property from subNode but only finds till node level propNode 

/ jcr:content / comp-par / component / section / propNode / subNode


CurrentQuery:
-------------------
fulltext=Search Term
group.p.or=true
group.1_path=/content/proj/sub/us
group.1_group.type=cq:Page
group.2_path=/content/dam/proj/sub/us
group.2_group.type=dam:Asset

But when i remove the "group.1_group.type=cq:Page" then below fulltext query looks under entire depth and fetch all nodes containing the term

UpdatedQuery:
-------------------
fulltext=Search Term
group.p.or=true
group.1_path=/content/proj/sub/us
group.2_path=/content/dam/proj/sub/us
group.2_group.type=dam:Asset

With this nodes containing search term are returned while we expect the cq:page to be returned as in previous query.

Do we know what controls the depth for fulltext search with type=cq:Page. fulltext query without the type looks under entire depth.

And how can we get only cq:Page in search results when using updated query.

cc @kautuk_sahni Jörg_Hoh Arun_Patidar
Thanks

 

Accepted Solutions (0)

Answers (0)