\Solr

Synopsis

class Solr {
}

Members

protected

  • $merged_solr_options
    A cache of solr_options with the defaults all merged in
  • $service_core_singletons[SolrService_Core]
  • $service_singletonSolrService
  • $solr_options
    Configuration on where to find the solr server and how to get new index configurations into it.

Methods

public

  • configure_server() — Update the configuration for Solr. See $solr_options for a discussion of the accepted array keys
  • get_indexes()
  • include_client_api() — Include the thirdparty Solr client api library. Done this way to avoid issues where code is called in mysite/_config before fulltextsearch/_config has a change to update the include path.
  • service() — Get a SolrService
  • set_service_class()
  • solr_options() — Get the configured Solr options with the defaults all merged in