cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene Query

pmrreddy
Champ on-the-rise
Champ on-the-rise
Hi All,

please he me to wirte a lucene query in home space i have a folder structure like homespace –>  user2_ , user1_doc,user3_doc,spadmin_doc,admin_doc,enduser_doc in these folders i have few docs in all folder related to that user send to me , now i need to wirte the lucene query to get all docs which start folder name user like(
user*)

I checked the this  PATH:"/app:company_home/app:user_homes/cm:user*/*"

but its throwing error for * in user

Regards
param
2 REPLIES 2

kaynezhang
World-Class Innovator
World-Class Innovator
You can write it like this

+PATH:"/app:company_home/app:user_homes/*" AND +@cm\:name:"user*"

Hi kaynezhang

Thanx for giving this query which giving perfect result of nodes which start with user, but my requirement is i need to fetch the docs which are inside of all these user folders i have other folders also inside the same root folder i dont want that.