Merge branch 'master' into fix-not-used
This commit is contained in:
commit
5dbe3d2770
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ class SearchInDocument
|
|||
// return the coordinates of highlighted search as absolute coordinates
|
||||
$solrRequest->addParam('hl.ocr.absoluteHighlights', 'on');
|
||||
// max amount of snippets for a single page
|
||||
$solrRequest->addParam('hl.snippets', 20);
|
||||
$solrRequest->addParam('hl.snippets', 40);
|
||||
// we store the fulltext on page level and can disable this option
|
||||
$solrRequest->addParam('hl.ocr.trackPages', 'off');
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ return [
|
|||
'type' => 'input',
|
||||
'size' => 30,
|
||||
'max' => 255,
|
||||
'eval' => 'alphanum,nospace,required,unique',
|
||||
'eval' => 'alphanum,nospace,unique',
|
||||
'default' => '',
|
||||
'fieldInformation' => [
|
||||
'solrCoreStatus' => [
|
||||
|
|
|
@ -73,7 +73,7 @@ dlfViewerFullTextDownloadControl.prototype.createFullTextFile = function() {
|
|||
/**
|
||||
* Append text line
|
||||
*
|
||||
* @param {string} textLine
|
||||
* @param {ol.Feature} textLine
|
||||
*/
|
||||
dlfViewerFullTextDownloadControl.prototype.appendTextLine = function(textLine) {
|
||||
var fileContent = '';
|
||||
|
@ -89,5 +89,5 @@ dlfViewerFullTextDownloadControl.prototype.appendTextLine = function(textLine) {
|
|||
}
|
||||
}
|
||||
}
|
||||
return fileContent.concat(fileContent);
|
||||
return fileContent;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue