AnsweredAssumed Answered

Lucene Search - all cm:folders under a certain node

Question asked by arnieaustin2 on Feb 24, 2013
Latest reply on Mar 7, 2013 by arnieaustin2
I am confused as to the best way to do this kind of search, when starting from a given node.

I have a rather deep folder structure for my user folders. This is due to the way we manage accounts.

I have a valid Lucene query that returns to me the user's home folder and its node id:

+PATH:"/app:company_home/app:user_homes//* " AND +@cm\:name:"XYZ"


Given this folder's nodeId, I need to determine if another folder exists somewhere from under here by its name. So basically, I need to use the home folder's node id as a starting point for the scan.

But none of the examples I've seen thus far show how to do this.

Can anyone give me some guidance?

Outcomes