Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 986 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 986 Bytes

Solr Index for the Gutenberg Project.

Start up Solr

  1. Download and unpack Solr 9.5.0
  2. Run Solr pointing at the Solr Home directory for the Relevance Course
./bin/solr start -s /path/to/relevanceCourse/

In your browser, navigate to "http://localhost:8983/solr/" to confirm Solr is up and running

Index Gutenberg Project Books

  1. Verify you can open books.json - this dataset has been extracted from the Gutenberg Project by corgis
  2. Install Python 3.12.2 and the pysolr library library - pip install pysolr
  3. Run python index.py to index the books

Confirm Solr has 1006 books

Navigate here and confirm you get the results.

Stop Solr

./bin/solr stop