AnsweredAssumed Answered

Alfresco lucene search cannot find folder

Question asked by streetturtle on Nov 21, 2016
Latest reply on Nov 21, 2016 by jpotts

I have a folder in document library of a site. I want to find all content of that folder. Running following lucene/fts-alfresco query in Node Browser returns No items found:


Which is wrong, as I have documents in that folder and running same query for different folder returns proper result. Another strange thing is that I cannot get this folder: following query also returns No items found:


Also if I get content of document library then MyFolder is skipped in the results and subfolder is returned:


Name          | Parent
cm:MyFolder2  | /app:company_home/st:sites/cm:mysite/cm:documentLibrary
cm:MySubfolder| /app:company_home/st:sites/cm:mysite/cm:documentLibrary/cm:MyFolder

I have checked the aspects and properties of MyFolder and they are the same as MyFolder2. I do not have any custom behaviours/rules/etc.

How can I make first lucene query work and return content of MyFolder?