vivo-solr/README.md

42 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2018-09-20 17:48:50 -04:00
# vivo-solr
Configuration and Installation instructions for VIVO's external Solr
2018-09-20 18:21:42 -04:00
## Requirements
2018-10-01 15:40:19 -05:00
This configuration has been tested with VIVO 1.11.0 and Solr 7.4.0
2018-09-20 18:21:42 -04:00
# Quick Start
1. Download and install Solr 7.4.0
2018-10-01 15:40:19 -05:00
- [http://archive.apache.org/dist/lucene/solr/7.4.0/](http://archive.apache.org/dist/lucene/solr/7.4.0/)
- [https://lucene.apache.org/solr/guide/7_4/installing-solr.html](https://lucene.apache.org/solr/guide/7_4/installing-solr.html)
2018-09-20 18:21:42 -04:00
1. Create directory:
```
2020-03-16 19:32:33 -04:00
${SOLR_HOME}/server/solr/vivocore/
2018-09-20 18:21:42 -04:00
```
2020-03-16 19:32:33 -04:00
- Where ${SOLR_HOME} is the directory in which you installed Solr (e.g. `/opt/solr/solr-7.4.0/`)
2018-09-20 18:21:42 -04:00
1. 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
└── ...
```
1. Start solr
```bash
${SOLR_HOME}/bin/solr start
```
2018-10-01 15:40:19 -05:00
1. 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.
```
2018-09-20 18:21:42 -04:00
1. Update VIVO runtime.properties
```
2018-10-01 15:40:19 -05:00
vitro.local.solr.url = http://localhost:8983/solr/vivocore
2018-09-20 18:21:42 -04:00
```
1. Start VIVO!
# Credits
The VIVO-specific configuration and general source of this repository comes from:
[Huda Khan](https://github.com/hudajkhan) [SolrVIVOConfiguration](https://github.com/hudajkhan/SolrVIVOConfiguration)