You are here

function apachesolr_comment_insert in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.module \apachesolr_comment_insert()

Implements hook_comment_insert().

File

./apachesolr.module, line 688
Integration with the Apache Solr search application.

Code

function apachesolr_comment_insert($comment) {
  apachesolr_mark_entity('node', $comment->nid);
}