cancel
Showing results for 
Search instead for 
Did you mean: 

Look up nodes of type under a path location

nonets
Champ on-the-rise
Champ on-the-rise

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 1

abbask01
Star Collaborator
Star Collaborator

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