AnsweredAssumed Answered

What query needed to return direct children of cm:cmobject?

Question asked by sgomez on Oct 2, 2009
Latest reply on Oct 20, 2009 by sgomez
Greetings,

I currently have a setup where my main object types in the repository for users are cm:folder and cm:content.  I eventually will have child nodes of these base objects for my system(e.g. cm:folder > cm:student_folder).  What would be the best way to search and return cm:folder and cm:content and their direct children?

I tried doing a lucene query TYPE:"cm:cmobject" which returned pretty much everything.  I tried PATH:"/cm:cmobject/*", which according to the search API is supposed to return the direct children of that specified object, but returned nothing to me.  Can anyone point me in the right direction on what I might need to do?  Thanks in advance!

-sgomez

Outcomes