You are here

function _asa_get_solr_instance in Apache Solr Attachments 5

Get a reference to the Solr service.

1 call to _asa_get_solr_instance()
_as_index_documents in ./apachesolr_attachments.module
Take the full list of Docs to submit to Solr and add them in batches.

File

./apachesolr_attachments.module, line 314
Provides a file attachment search implementation for use with the Apache Solr module

Code

function _asa_get_solr_instance() {
  try {
    return _get_solr_instance();
  } catch (Exception $e) {
    watchdog(SOLR_ATTACHMENT_WD, $e
      ->getMessage(), WATCHDOG_ERROR);
  }
  return FALSE;
}