You are here

function apachesolr_mark_node in Apache Solr Search 6

Same name and namespace in other branches
  1. 5.2 apachesolr.module \apachesolr_mark_node()
  2. 6.2 apachesolr.module \apachesolr_mark_node()

Mark one node as needing re-indexing.

3 calls to apachesolr_mark_node()
apachesolr_comment in ./apachesolr.module
Implementation of hook_comment().
apachesolr_nodeaccess_node_access_records in contrib/apachesolr_nodeaccess/apachesolr_nodeaccess.module
Implementation of hook_node_access_records().
apachesolr_og_reindex in contrib/apachesolr_og/apachesolr_og.module
Submit function to make group nodes as needing re-indexing.

File

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

Code

function apachesolr_mark_node($nid) {
  db_query("UPDATE {apachesolr_search_node} SET changed = %d WHERE nid = %d", time(), $nid);
}