In-Portal allows to search for data, entered in Catalog, on the Front-End. The "Configuration > Module Name > Search" section of each module allows to specify:
- what fields should be searchable
- what weight match in each field has (used during relevance calculation)
Right now pages can only be found by their fields (Title
, Description
, etc.) and not the content, that is entered on the using orange "Edit Content" button in the "Content Mode".
Proposing to make content block text searchable.
Solution
- Add multilingual
ContentBlockContent
field topage-revision
unit. - Fill
ContentBlockContent
by concatenated content of all page revision content blocks when content block is changed (see "EContentEventHandler::_afterItemChanged" method in rCCD15050). - Insert new record to
SearchConfig
about this new field with join to live page-revision (similar to how "Link.ModifiedById" field record looks like).