SilverStripe\FullTextSearch\Solr\Services\SolrService
The API for accessing the primary Solr installation, which includes both SolrService_Core, plus extra methods for interrogating, creating, reloading and getting SolrService_Core instances for Solr cores.
Synopsis
class SolrService
extends SolrService_Core
{
- // members
- private static $core_class = SolrService_Core::class;
- // methods
- protected void coreCommand()
- public boolean coreIsActive()
- public Apache_Solr_Response coreCreate()
- public Apache_Solr_Response coreReload()
- public Solr4Service_Core serviceForCore()
Hierarchy
Members
private
- $core_class
Methods
protected
- coreCommand() — Handle encoding the GET parameters and making the HTTP call to execute a core command
public
- coreCreate() — Create a new core
- coreIsActive() — Is the passed core active?
- coreReload() — Reload a core
- serviceForCore() — Create a new Solr4Service_Core instance for the passed core