Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.
/ inventory-solr Public archive

SOLR Docker image for inventory.data.gov

Notifications You must be signed in to change notification settings

GSA/inventory-solr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

inventory-solr

Build on local / dev instance

Use one of two ways to run a container:

  1. To run a build directly from Docker hub, run
$ docker run -d -p 8983:8983 --name solr datagov/inventory-solr
  1. Build an image from Dockerfile from this repo
$ git clone https://github.com/GSA/inventory-solr.git
$ cd inventory-solr
$ docker build -t datagov/inventory-solr .
$ docker run -d -p 8983:8983 --name solr datagov/inventory-solr

In your browser, you must be able to open (replace localhost with host name of your VM if needed): http://localhost:8983/solr

CKAN config

Configure your CKAN .ini file to use your new SOLR instance (replace localhost with host name of your VM if needed)

solr_url = http://localhost:8983/solr/ckan

Rebuilding SOLR index

If you already have data in your CKAN, you can rebuild SOLR data: http://docs.ckan.org/en/latest/maintaining/paster.html#search-index-rebuild-search-index

About

SOLR Docker image for inventory.data.gov

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published