@@ -72,14 +72,22 @@ include '../ops_api.php' | |||
<br><br> | |||
Title: | |||
<?php | |||
echo $result['title']; | |||
if ($result['title']): | |||
?> | |||
Title: | |||
<?php | |||
echo $result['title']; | |||
?> | |||
<br><br> | |||
<? | |||
endif; | |||
?> | |||
<?php | |||
if (isset($publication_details['original_title'])): | |||
?> |
@@ -71,14 +71,22 @@ include '../solr.php'; | |||
<br><br> | |||
Title: | |||
<?php | |||
echo $result['title']; | |||
if (isset($result['title'])): | |||
?> | |||
Title: | |||
<?php | |||
echo $result['title']; | |||
?> | |||
<br><br> | |||
<? | |||
endif; | |||
?> | |||
<?php | |||
if (isset($result['abstract'])): | |||
?> | |||
@@ -91,12 +99,12 @@ include '../solr.php'; | |||
<br><br> | |||
<hr> | |||
<? | |||
endif; | |||
?> | |||
<hr> | |||
<?php | |||
endforeach; | |||
@@ -42,6 +42,8 @@ Help() | |||
Import() | |||
{ | |||
docker exec -it solr bin/solr delete -c $core | |||
docker exec -it solr solr create_core -c $core -d custom | |||
#docker exec -ti --user=solr solr bash -c "cp -r /opt/solr/example/files/conf/* /var/solr/data/$core/conf/" |