You are here

function apachesolr_user_update_index in Apachesolr User 6

This module will index users and there profile information in Solr. As this is a D6 module we are treating them like nodes

1 string reference to 'apachesolr_user_update_index'
apachesolr_user_user_to_document in ./apachesolr_user.module
Given a node ID, return a document representing that node.

File

./apachesolr_user.module, line 8

Code

function apachesolr_user_update_index() {
  $cron_limit = 5;

  //variable_get('apachesolr_cron_limit', 50);
  $rows = apachesolr_user_get_users_to_index('apachesolr_user', $cron_limit);
  apachesolr_user_index_users($rows, 'apachesolr_user');
}