AnsweredAssumed Answered

How to search on Discussion/Topics?

Question asked by alex_chew on Mar 3, 2012
Latest reply on Mar 5, 2012 by alex_chew
Hi,

I want to add a search function on Discussion/Topics. From forumModel.xml  the fm:toopic type is a child type of cm:folder. The out-of-the-box implementation saves topic title to fm:topic type and saves topic content to fm:post type. Here comes my question: How to find topics by searching on topic contents?

I tried to build new lucene query by following out-of-the-box findTopicByTags function, but I don't know how to build lucene query on fm:topic–fm:post parent-child association. My Alfresco version is community 4.0.c. Any tips will be appreciated.

Regards,
Alex

Outcomes