Skip to main content
deleted 39 characters in body; edited title
Source Link
Valentin Despa
  • 3.7k
  • 2
  • 20
  • 42

How to add com_content extra fields to Smart Search Index

do some of you know whereWhere I can find any tutorial or instructions to build a plugin which handles "onPrepareFinderContent" ? I've

I've added some extra fields to com_content articles and I would like them to be indexed by the Finder engine.

I'm looking for a way to add a new element to the FinderIndexerResultFinderIndexerResult object that is going to be indexed. I've

I've seen this line of code in plugins/finder/content/content.php at line 311:

// Get content extras.
FinderIndexerHelper::getContentExtras($item);

The FinderIndexerHelper::getContentExtras function accepts the FinderIndexerResult object which is going to be indexed and then trigger an "onPrepareFinderContent" event, which (I suppose) allows 3dparty plugin to add or modify the content that is going to be indexed.

Some of you has any experience on this or can point me to some good tutorial/documentation?

Thank you, Cristiano

How to add extra fields to Smart Search Index

do some of you know where I can find any tutorial or instructions to build a plugin which handles "onPrepareFinderContent" ? I've added some extra fields to com_content articles and I would like them to be indexed by the Finder engine.

I'm looking for a way to add a new element to the FinderIndexerResult object that is going to be indexed. I've seen this line of code in plugins/finder/content/content.php at line 311:

// Get content extras.
FinderIndexerHelper::getContentExtras($item);

The FinderIndexerHelper::getContentExtras function accepts the FinderIndexerResult object which is going to be indexed and then trigger an "onPrepareFinderContent" event, which (I suppose) allows 3dparty plugin to add or modify the content that is going to be indexed.

Some of you has any experience on this or can point me to some good tutorial/documentation?

Thank you, Cristiano

How to add com_content extra fields to Smart Search Index

Where I can find any tutorial or instructions to build a plugin which handles "onPrepareFinderContent" ?

I've added some extra fields to com_content articles and I would like them to be indexed by the Finder engine.

I'm looking for a way to add a new element to the FinderIndexerResult object that is going to be indexed.

I've seen this line of code in plugins/finder/content/content.php at line 311:

// Get content extras.
FinderIndexerHelper::getContentExtras($item);

The FinderIndexerHelper::getContentExtras function accepts the FinderIndexerResult object which is going to be indexed and then trigger an "onPrepareFinderContent" event, which (I suppose) allows 3dparty plugin to add or modify the content that is going to be indexed.

Some of you has any experience on this or can point me to some good tutorial/documentation?

Source Link

How to add extra fields to Smart Search Index

do some of you know where I can find any tutorial or instructions to build a plugin which handles "onPrepareFinderContent" ? I've added some extra fields to com_content articles and I would like them to be indexed by the Finder engine.

I'm looking for a way to add a new element to the FinderIndexerResult object that is going to be indexed. I've seen this line of code in plugins/finder/content/content.php at line 311:

// Get content extras.
FinderIndexerHelper::getContentExtras($item);

The FinderIndexerHelper::getContentExtras function accepts the FinderIndexerResult object which is going to be indexed and then trigger an "onPrepareFinderContent" event, which (I suppose) allows 3dparty plugin to add or modify the content that is going to be indexed.

Some of you has any experience on this or can point me to some good tutorial/documentation?

Thank you, Cristiano