change jdk version use openjdk-8
using
#update-alternatives –config java
change jdk version use openjdk-8
using
#update-alternatives –config java
to install POSGRESQL pgcrypto EXTENSION
you must install postgresql-contrib
# apt-get install postgresql-contrib
1- add the field to indeing
edit the files dspace.cfg
The search commands are written as “search.index.# = [name]:[schema].[element].[qualifier]”
add the field in this section
changing these will change your search results
search.index.6 = abstract:dc.description.abstract
2- add the field text in
3- Creating a new discovery bean
open the file
[Dspace]/config/spring/api/discovery.xml
add the new fitler field to this section
<
list
>
<
ref
bean
=
"searchFilterTitle"
/>
<
ref
bean
=
"searchFilterAuthor"
/>
<
ref
bean
=
"searchFilterSubject"
/>
<
ref
bean
=
"searchFilterAbstract"
/>
</
list
>
</list>
change CATALINA_OPTS=”-Xms(min heap)m -Xmx(max heap)m”
in /usr/share/tomcat7/bin/catalina.sh
and create swap driver
///===== clear tomcat cash
rm -rf /var/lib/tomcat7/work/Catalina/localhost/*
need to alter the CONSTRAINT then run the import command
ALTER TABLE collection2item DROP CONSTRAINT collection2item_item_id_fkey;
ALTER TABLE community2community DROP CONSTRAINT community2community_child_comm_id_fkey;
ALTER TABLE community2collection DROP CONSTRAINT community2collection_collection_id_fkey;
https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-essentials
About the reviewer
https://www.safaribooksonline.com/library/view/apache-solr-essentials/9781784399641/pr05.html