SilverStripe\FullTextSearch\Solr\Solr
Synopsis
class Solr
{
- // members
- protected static array $solr_options = ;
- protected static $merged_solr_options = NULL;
- protected static SolrService $service_singleton = NULL;
- protected static array $service_core_singletons = ;
- // methods
- public static void configure_server()
- public static array solr_options()
- public static void set_service_class()
- public static SolrService|SolrService_Core service()
- public static void get_indexes()
Members
protected
-
$merged_solr_options
A cache of solr_options with the defaults all merged in - $service_core_singletons — array
- $service_singleton — SilverStripe\FullTextSearch\Solr\Services\SolrService
-
$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()
- service() — Get a SolrService
- set_service_class()
- solr_options() — Get the configured Solr options with the defaults all merged in