AnsweredAssumed Answered

[solved] finding nodes & docs with spec. type

Question asked by robobot on Sep 3, 2009
Latest reply on Sep 8, 2009 by robobot
hello again,
i have a new problem with a query: the following string should retrieve all folders in the specific path and some documents in that folders that match a condition:

PATH:"//app:company_home/app:user_homes/cm:Test/cm:Projects/cm:MyProject//." AND TYPE:\{http\://www.alfresco.org/model/content/1.0\}folder OR (+@candidate\:Objid: 100014098900000 AND +@candidate\:OwnerType: 8)

The Query above just fetches the folders with no documents. If i write

PATH:"//app:company_home/app:user_homes/cm:Test/cm:Projects/cm:MyProject//." AND +@candidate\:Objid: 100014098900000 AND +@candidate\:OwnerType: 8
the documents will be fetched, but folders are omit. can anybody help me. how do i write this query correct ?

thank you
steve

Outcomes