Skip to content

Contains the Solr configsets that power the searchengine of data.overheid.nl.

License

Notifications You must be signed in to change notification settings

lbercken/solr-configsets

 
 

Repository files navigation

Solr Configsets

Repository: github.com/dataoverheid/solr-configsets

Contact

Requirements

  • Apache Solr >= 8.2

License

Licensed under the CC0 license. View the LICENSE.md file for more information.

Installation

SolrStandalone

sudo su solr
bash /path/to/solr-configsets/bin/generate_metadata.sh
ln -s /path/to/solr-configsets/configsets/donl_dataset /path/to/solr/configsets/donl_dataset
ln -s /path/to/solr-configsets/configsets/donl_search /path/to/solr/configsets/donl_search
ln -s /path/to/solr-configsets/configsets/donl_suggester /path/to/solr/configsets/donl_suggester
ln -s /path/to/solr-configsets/configsets/donl_signals /path/to/solr/configsets/donl_signals

SolrCloud

For SolrCloud deployments, first update the .env file with the correct configurations, afterwards:

sudo su solr
bash /path/to/solr-configsets/bin/update_configsets.sh

Alternatively, you can use a Docker container to deploy:

bin/docker_build.sh
docker run \
  --rm \
  --name donl_solr_configsets \
  --network {zookeeper network} \
  -e TZ=Europe/Amsterdam \
  -e SOLR_INSTALLATION_PATH=/opt/solr \
  -e ZOOKEEPER_CONNECTION_STRING={zookeeper connectionstring} \
  "donl_solr_configsets:{solr-configsets version}"

Usage

During core/collection creation, you now have the option to select one of the below configsets for the new Solr core/collection.

  • donl_dataset
  • donl_search
  • donl_signals
  • donl_suggester

About

Contains the Solr configsets that power the searchengine of data.overheid.nl.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 86.4%
  • Dockerfile 13.6%