Change default Solr port from 8180 to 8983

This commit is contained in:
Frank Ulrich Weber 2018-10-31 11:35:36 +01:00
parent 01a22c3343
commit 9536e9f13a
5 changed files with 6 additions and 6 deletions

View File

@ -268,7 +268,7 @@ class tx_dlf_solr {
$solrInfo['password'] = $conf['solrPass']; $solrInfo['password'] = $conf['solrPass'];
// Set port if not set. // Set port if not set.
$solrInfo['port'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($conf['solrPort'], 1, 65535, 8180); $solrInfo['port'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($conf['solrPort'], 1, 65535, 8983);
// Append core name to path. // Append core name to path.
$solrInfo['path'] = trim($conf['solrPath'], '/'); $solrInfo['path'] = trim($conf['solrPath'], '/');

View File

@ -41,7 +41,7 @@ solrConnect = 0
solrHost = localhost solrHost = localhost
# cat=Solr; type=int[0-65535]; label=LLL:EXT:dlf/locallang.xml:config.solrPort # cat=Solr; type=int[0-65535]; label=LLL:EXT:dlf/locallang.xml:config.solrPort
solrPort = 8180 solrPort = 8983
# cat=Solr; type=string; label=LLL:EXT:dlf/locallang.xml:config.solrPath # cat=Solr; type=string; label=LLL:EXT:dlf/locallang.xml:config.solrPath
solrPath = /solr/ solrPath = /solr/

View File

@ -59,7 +59,7 @@ class tx_dlf_em {
} }
// Set port if not set. // Set port if not set.
$port = (!empty($this->conf['solrPort']) ? \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($this->conf['solrPort'], 0, 65535, 8180) : 8180); $port = (!empty($this->conf['solrPort']) ? \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($this->conf['solrPort'], 0, 65535, 8983) : 8180);
// Trim path and append trailing slash. // Trim path and append trailing slash.
$path = (!empty($this->conf['solrPath']) ? trim($this->conf['solrPath'], '/').'/' : ''); $path = (!empty($this->conf['solrPath']) ? trim($this->conf['solrPath'], '/').'/' : '');

View File

@ -126,7 +126,7 @@ class tx_dlf_tcemain {
} }
// Set port if not set. // Set port if not set.
$port = (intval($conf['solrPort']) > 0 ? intval($conf['solrPort']) : 8180); $port = (intval($conf['solrPort']) > 0 ? intval($conf['solrPort']) : 8983);
// Trim path and append trailing slash. // Trim path and append trailing slash.
$path = (trim($conf['solrPath'], '/') ? trim($conf['solrPath'], '/').'/' : ''); $path = (trim($conf['solrPath'], '/') ? trim($conf['solrPath'], '/').'/' : '');

View File

@ -175,7 +175,7 @@
<label index="config.fileGrpAudio">Audio fileGrp: @USE attribute value (default is "AUDIO")</label> <label index="config.fileGrpAudio">Audio fileGrp: @USE attribute value (default is "AUDIO")</label>
<label index="config.solrConnect">Solr Connection</label> <label index="config.solrConnect">Solr Connection</label>
<label index="config.solrHost">Solr Server Host: (default is "localhost")</label> <label index="config.solrHost">Solr Server Host: (default is "localhost")</label>
<label index="config.solrPort">Solr Server Port: (default is "8180")</label> <label index="config.solrPort">Solr Server Port: (default is "8983")</label>
<label index="config.solrPath">Solr Server Path: (default is "/solr/")</label> <label index="config.solrPath">Solr Server Path: (default is "/solr/")</label>
<label index="config.solrUser">Solr Server User: (default is "")</label> <label index="config.solrUser">Solr Server User: (default is "")</label>
<label index="config.solrPass">Solr Server Password: (default is "")</label> <label index="config.solrPass">Solr Server Password: (default is "")</label>
@ -384,7 +384,7 @@
<label index="config.fileGrpAudio">Audio fileGrp: @USE Attributwert der Audiodateien (Standard ist "AUDIO")</label> <label index="config.fileGrpAudio">Audio fileGrp: @USE Attributwert der Audiodateien (Standard ist "AUDIO")</label>
<label index="config.solrConnect">Solr Verbindung</label> <label index="config.solrConnect">Solr Verbindung</label>
<label index="config.solrHost">Solr Server Host: (Standard ist "localhost")</label> <label index="config.solrHost">Solr Server Host: (Standard ist "localhost")</label>
<label index="config.solrPort">Solr Server Port: (Standard ist "8180")</label> <label index="config.solrPort">Solr Server Port: (Standard ist "8983")</label>
<label index="config.solrPath">Solr Server Pfad: (Standard ist "/solr/")</label> <label index="config.solrPath">Solr Server Pfad: (Standard ist "/solr/")</label>
<label index="config.solrUser">Solr Server Benutzername: (Standard ist "")</label> <label index="config.solrUser">Solr Server Benutzername: (Standard ist "")</label>
<label index="config.solrPass">Solr Server Kennwort: (Standard ist "")</label> <label index="config.solrPass">Solr Server Kennwort: (Standard ist "")</label>