Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-92254

Allow providing a custom extension to control how the content of a lfr-editable field

Details

    Description

      With the lfr-editable tag it is possible to create a lot of content. But to index it in search, it would be convenient to control the way the data is stored. e.g. to search only for the titles of pages, boost specific fields or even discard some field contents.

      Please add a new attribute to specify a class that defines how the field will be indexed:

      <lfr-editable id="unique-id" type="text" myparam1="something" indexer="com.something.MyFieldIndexer" >...

      This indexer should be able to contribute to the document and add my editable field in a convenient way.

      Note: Other attributes of the lfr-editable tag should be available in the indexer in the form of a map.

       

      Attachments

        Activity

          People

            mateo.hermosin Mateo Hermosin
            crabel Christoph Rabel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package