AnsweredAssumed Answered

Javascript Lucene Search on folder

Question asked by yteng on Mar 10, 2010
Latest reply on Jul 7, 2010 by grob
Hey guys, i have a problem on lucene search, I want get all documents from a folder called Customer Care under Company Home by luceneSearch in javascript :    

search.luceneSearch ("+PATH:\"/app:company_home/cm:Customer_Care/*\"");  does not work, returns nothing ….

I tried many different ways in this lucene search query, such as, cm:customer care, cm:customer_care, cm:customer%20care, but none of them works.

Does anyone knows how to retrieve contents from that folder (Customer Care) by lucene search?

Thanks in advance.

By the way, I did some experiment, I changed the folder name to "CustomerCare" (removed the space at middle), and called search.luceneSearch ("+PATH:\"/app:company_home/cm:CustomerCare/*\""); it works.