11-21-2016 11:06 AM
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:
PATH:"/app:company_home/st:sites/cm:mysite/cm:documentLibrary/cm:MyFolder/*"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:
PATH:"/app:company_home/st:sites/cm:mysite/cm:documentLibrary/cm:MyFolder"Also if I get content of document library then MyFolder is skipped in the results and subfolder is returned:
PATH:"/app:company_home/st:sites/cm:mysite/cm:documentLibrary/*"
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:MyFolderI 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?
11-21-2016 11:34 AM
Can you please specify which Alfresco version and indexing subsystem you are using? How large is your index? Would it be possible to attempt a full reindex to see if it was just a hiccup? If you are using SOLR, have you checked the SOLR administration page for indexing errors and / or performed a REPORT action?
11-21-2016 01:45 PM
Cross-posted here: Alfresco lucene search cannot find folder - Stack Overflow
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.