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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Re: Fulltext search

Avatar

Community Advisor

Hi @anasustic ,

 

For the search path to include the search path node as well, you would need to add another property in the search :

path.self=true

If true searches the subtree including the main node given in path, if false searches the subtree only.

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Yes, that is correct.

If you set the path.self property to true, the search will include the node specified in the path property as well as its children. If you set it to false, the search will only include the children of the node specified in the path property and will not include the node itself.

It's important to note that the path.self property is only applicable when performing a search using the path property. If you are not using the path property in your search, the path.self property will have no effect.

https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/query-builder/quer...

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Yes, that is correct.

If you set the path.self property to true, the search will include the node specified in the path property as well as its children. If you set it to false, the search will only include the children of the node specified in the path property and will not include the node itself.

It's important to note that the path.self property is only applicable when performing a search using the path property. If you are not using the path property in your search, the path.self property will have no effect.

https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/query-builder/quer...