Jump to content

Developer Documentation

Supporting search for comments

Note: In order to support searching of comments, your content items must also be searchable. Consult the searching content items guide for more information.

 

Implementing search

All that is required to support searching of your item's comments is to implement the search interface, like so:

implements \IPS\Content\Searchable


 

Changed behaviors after implementation

  • Comments will be indexed and included in search results and the activity stream. The index will automatically be updated when comments are created, edited, moved, hidden, etc.

  Report Document


×
×
  • Create New...