Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


9. Navigate to $FEDORA_HOME/tomcat/webapps/fedoragsearch/FgsConfig/and run Apache ant on fgsconfig-basic.xml

Code Block
languagebash
$# cd /usr/local/fedora/tomcat/webapps/fedoragsearch/FgsConfig/
$# ant -f fgsconfig-basic.xml


10. Rename the current Solr schema.xml file to schema.bakSet up solr to use the newly generated schema. Start by backing up the existing schema:

Code Block
languagebash
$# mv -v /usr/local/fedora/solr/collection1/conf/schema.xml $FEDORA_HOME/solr/collection1/conf/schema.bak


11.  Copy the new, ant-generated Solr schema into place as schema.xml

Code Block
languagebash
$# cp -v /usr/local/fedora/tomcat/webapps/fedoragsearch/WEB-INF/classes/fgsconfigFinal/index/FgsIndex/conf/schema-4.2.0-for-fgs-2.6.xml $FEDORA_HOME/solr/collection1/conf/schema.xml

...


13. Restart Fedora.

Code Block
languagebash
$# /usr/local/fedora/tomcat/bin/shutdown.sh

$# /usr/local/fedora/tomcat/bin/startup.sh

 

14. Test your installation by going to http://localhost:8080/fedoragsearch/rest

 Image Added

  1. Login using fedoraAdmin 
  2. Click on updateindex
  3. Click on updateIndex fromFoxmlFiles

If you can not access the rest page please retrace your steps. Be sure to not have extra characters or white space in the /fgsconfig-basic-for-islandora.properties files as emphasized on step 7.

15. GSearch and Solr will need to be further configured to index specific datastreams. Sample GSearch and Solr configurations can be found here and here.

...