SolrService
class SolrService extends SolrService_Core (View source)
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.
Properties
Methods
                                        protected                                                        
                
                    Apache_Solr_Response
                
                                
                    coreCommand(string $command, string $core, array $params = array())
        
                                            
                
            Handle encoding the GET parameters and making the HTTP call to execute a core command
                    public                                                                            
                
                    Apache_Solr_Response
                
                                
                    coreCreate(string $core, string $instancedir, string $config = null, string $schema = null, string $datadir = null)
        
                                            
                
            Create a new core
                    public                                                                            
                
                                
                    serviceForCore(string $core)
        
                                            
                
            Create a new Solr4Service_Core instance for the passed core
Details
        
                    protected        Apache_Solr_Response
    coreCommand(string $command, string $core, array $params = array())
        
    
    Handle encoding the GET parameters and making the HTTP call to execute a core command
        
                            bool
    coreIsActive(string $core)
        
    
    Is the passed core active?
        
                            Apache_Solr_Response
    coreCreate(string $core, string $instancedir, string $config = null, string $schema = null, string $datadir = null)
        
    
    Create a new core
        
                            Apache_Solr_Response
    coreReload(string $core)
        
    
    Reload a core
        
                            Solr4Service_Core
    serviceForCore(string $core)
        
    
    Create a new Solr4Service_Core instance for the passed core