Currently we can search only by page (category) attributes (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.) . But searching by page content is needed very often.I propose to create search by content blockand 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. - Insert new record to
SearchConfig
about this new field with join to live page-revision.
...