Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Plone search be configured to see portlet content?

I just now realized that Plone search doesn't "see" content that is in portlets, after adding about a million static text portlets to a new website. Is there anyway it can be configured to access that content also?

Test example, search for "Gwynn" on our CA&ES site in development:

However "Gwynn" shows up in a portlet on this page.

The only other solution I can think of is to use "Content portlets" instead, and switch all those "static text" portlets to pages... Not ideal though, because the search result would pull that "content page" instead of the actual page where the portlet is displayed.

This website is running on Plone 4.3.

like image 277
feesh Avatar asked Aug 19 '13 18:08

feesh


1 Answers

if you're using portal_catalog or a supported search engine plugin collective.solr, ... i'd recommend you implement a custom indexer for your fulltext index, which also reads the fulltext out of annotation storage and submits it to the index. This should be quite easy, example see Plone documentation: https://docs.plone.org/4/en/develop/plone/searching_and_indexing/indexing.html#full-text-searching

like image 97
widerin Avatar answered Nov 12 '22 09:11

widerin