cancel
Showing results for 
Search instead for 
Did you mean: 

lucene query to get only files in a space not sub spaces

anjan_ece
Champ in-the-making
Champ in-the-making
Hi ,
I want to retrieve the files in a space.The space has sub spaces as well.Could you tell me how to filter that in lucene query itself.

Thanks in advance
2 REPLIES 2

jm_pascal
Star Contributor
Star Contributor
Hi,

If you want more information about Search in Alfresco, try this tutorial : http://www.slideshare.net/JM.Pascal/alfresco-search-tutorial-presentation

Best Regards,

jayjayecl
Confirmed Champ
Confirmed Champ
If the content items you're looking for are in your space "customFolderB", try something like


PATH:"/app:company_home/cm:customFolderA/cm:customFolderB/*" AND TYPE:"cm:content"