Merge pull request #687 from albig/fix-solrcore-handling
Allow setting of Solr core name on creating solrcore records.
This commit is contained in:
commit
443b533004
|
@ -97,7 +97,7 @@ class DataHandler implements LoggerAwareInterface
|
|||
// Field post-processing for table "tx_dlf_solrcores".
|
||||
case 'tx_dlf_solrcores':
|
||||
// Create new Solr core.
|
||||
$fieldArray['index_name'] = Solr::createCore();
|
||||
$fieldArray['index_name'] = Solr::createCore($fieldArray['index_name']);
|
||||
if (empty($fieldArray['index_name'])) {
|
||||
$this->logger->error('Could not create new Apache Solr core');
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ return [
|
|||
'type' => 'input',
|
||||
'size' => 30,
|
||||
'max' => 255,
|
||||
'eval' => 'alphanum,nospace,required,unique',
|
||||
'eval' => 'alphanum,nospace,unique',
|
||||
'default' => '',
|
||||
'fieldInformation' => [
|
||||
'solrCoreStatus' => [
|
||||
|
|
Loading…
Reference in New Issue