function apachesolr_get_nodes_to_index in Apache Solr Search 7
Same name and namespace in other branches
- 8 apachesolr.module \apachesolr_get_nodes_to_index()
- 5.2 apachesolr.module \apachesolr_get_nodes_to_index()
- 6.3 apachesolr.module \apachesolr_get_nodes_to_index()
- 6 apachesolr.module \apachesolr_get_nodes_to_index()
- 6.2 apachesolr.module \apachesolr_get_nodes_to_index()
Function to retrieve all the nodes to index. Deprecated but kept for backwards compatibility
Parameters
String $namespace:
type $limit:
File
- ./
apachesolr.module, line 2494 - Integration with the Apache Solr search application.
Code
function apachesolr_get_nodes_to_index($namespace, $limit) {
$env_id = apachesolr_default_environment();
// Hardcode node as an entity type
module_load_include('inc', 'apachesolr', 'apachesolr.index');
apachesolr_index_get_entities_to_index($env_id, 'node', $limit);
}