Skip to content

Configuration and Installation instructions for VIVO's external Solr

License

Notifications You must be signed in to change notification settings

vivo-project/vivo-solr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vivo-solr

Configuration and Installation instructions for VIVO's external Solr

Requirements

This configuration has been tested with VIVO 1.12.3 and Solr 8.11.0 and with Docker

When using Docker the Quick Start section below is not applicable

Quick Start

  1. Download and install Solr 7.4.0
  2. Create directory:
    ${SOLR_HOME}/server/solr/vivocore/
    
    • Where ${SOLR_HOME} is the directory in which you installed Solr (e.g. /opt/solr/solr-7.4.0/)
  3. Add the vivocore directory of this GitHub repo and its contents into ${SOLR_HOME}/server/solr/
    • The end result should be a directory structure such as
    ${SOLR_HOME}/server/solr/vivocore/core.properties
                                  └── conf/
                                       ├── currency.xml
                                       ├── elevate.xml
                                       └── ... 
    
  4. Start solr
    ${SOLR_HOME}/bin/solr start
  5. Remove schema.xml from ${SOLR_HOME}/server/solr/vivocore/conf
    When solr was started it created the managed-schema automatically from the schema.xml and is no longer needed.
    
  6. Update VIVO runtime.properties
    vitro.local.solr.url = http://localhost:8983/solr/vivocore   
    
  7. Start VIVO!

Credits

The VIVO-specific configuration and general source of this repository comes from: Huda Khan SolrVIVOConfiguration