How to index and search "Public Pages" in Liferay 6? -
i new liferay please bear me if naive question.
as far know, liferay automatically indexes out of box items (core portlets) such web content, bookmarks, users etc.
what need index "public pages" (see screenshot). when create new public page custom fields, want able index in lucene title , description , able search search other out of box assets.
i understand can write indexer custom portlet, public pages different.
how can index them on creation/update can search lucene? appreciate this.
liferay pages nothing liferay object layout
. this
- create liferay hook plugin , override
layoutlocalservice
. - modify
addlayout
method , appropriate condition (identify public page) - call
searchengineutil
class , calladddocument
method save data index.
hope helps.
Comments
Post a Comment