Solr
class Solr (View source)
Properties
protected static | $solr_options | Configuration on where to find the solr server and how to get new index configurations into it. |
||
protected static | $merged_solr_options | A cache of solr_options with the defaults all merged in |
||
protected static | SolrService | $service_singleton | ||
protected static | $service_core_singletons |
Methods
Update the configuration for Solr. See $solr_options for a discussion of the accepted array keys
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.
Details
static
configure_server(array $options = array())
Update the configuration for Solr. See $solr_options for a discussion of the accepted array keys
static array
solr_options()
Get the configured Solr options with the defaults all merged in
static
set_service_class($class)
No description
static SolrService_Core
service(string $core = null)
Get a SolrService
static
get_indexes()
No description
static
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.