Look up nodes of type under a path location

cancel
Showing results for 
Search instead for 
Did you mean: 
nonets
Active Member

Look up nodes of type under a path location

I need to look up all nodes of a type "ts:folderSet" under other node.

So, using this TFS query (TYPE:"ts:folderSet") I obtain:

So, using last query, I'm getting all nodes of type "ts:folderSet".

I've tried adding another discjuntion on query:

TYPE:"ts:folderSet" and PARENT:"/app:company_home/st:sites/cm:luis-site/cm:documentLibrary/ts:applicationFolder-classificationBoard/tscb:classificacionBoard-classificacionBoard"

But it's getting empty:

Any ideas?

1 Reply
abbask01
Senior Member

Re: Look up nodes of type under a path location

The PARENT property in the FTS expects a nodeRef, hence you are getting an error.

For searching under a specific path, use PATH like - TYPE:"ts:folderSet" AND PATH:'/app:company_home/your/path/to/folder/*'

Note: this only searches for the immediate children for the path provided.

Regards,
Abbas