- solr.xslt autor and author_sort are now sorted by @SortOrder

- composer updates
- new artisan command 'update:dataset {dataset : The ID of the dataset}' for updating solr index for specific datasets
- DatasetExtension.php: alaso svae 'sort_order' for authors and contributors
- twice solr.xslt: sort authors also in solr index
This commit is contained in:
Arno Kaimbacher 2020-10-01 18:38:31 +02:00
parent 30afb3b1f8
commit 390b2396eb
8 changed files with 226 additions and 89 deletions

View file

@ -60,7 +60,7 @@ class DatasetUpdated
$service = new SolariumAdapter("solr", config('solarium'));
$service->addDatasetsToIndex($dataset);
} catch (Opus_Search_Exception $e) {
Log::debug(__METHOD__ . ': ' . 'Indexing document ' . $documentId . ' failed: ' . $e->getMessage());
Log::debug(__METHOD__ . ': ' . 'Indexing document ' . $dataset->id . ' failed: ' . $e->getMessage());
} catch (InvalidArgumentException $e) {
Log::warning(__METHOD__ . ': ' . $e->getMessage());
}