AnsweredAssumed Answered

Lucene search with FreeMarker

Question asked by simon on Jun 19, 2006
Latest reply on Jun 26, 2007 by andy
Alfresco,

I'm trying to show all the subspaces of a given space but when I do this with Freemarker it returns an extra folder. This folder is empty and has no properties whatsoever. The folder opens in the web client (but is empty) and Alfresco crashes when I try to open the details of this space.

The Lucene search looks like this:
( PATH:"/app:company_home/cm:Some_x0020_Folder/cm:SomeOtherFolder/cm:Presentations/*" ) AND ( TYPE:"{http://www.alfresco.org/model/content/1.0}folder" )
Result with FreeMarker and companyhome.childrenByLuceneSearch or companyhome.childrenBySavedSearch:
    - 168804d6-fb96-11da-a82c-4fa8d7c49110
    - Space 1
    - Space 2
    - Space 3
Result with the same SavedSearch in the web client:

    - Space 1
    - Space 2
    - Space 3
Where does this inconsistency come from?

Outcomes