Skip to content

biblibre/omeka-s-module-Solr

Repository files navigation

Solr module for Omeka S

This module provides a Search adapter for Solr.

Requirements

  • PHP >= 8.0
  • Solr PHP extension (>= 2.0.0). It must be enabled for the CLI as well as the web server.
  • Omeka S >= 3.1.0
  • A running Solr instance. It's recommended to use the latest version of Solr, but it should work with older versions too.

Quick start

  1. Install the Search module
  2. Install this module
  3. In Search admin pages:
  4. add a new index using the Solr adapter,
  5. configure correctly the host, port, and path of the Solr instance,
  6. launch the indexation by clicking on the "reindex" button (two arrows forming a circle),
  7. then add a page using the created index.
  8. In page configuration, you can enable/disable facet and sort fields (more fields can be created by going to the Solr admin page - link in the navigation menu)
  9. In your site configuration, add a navigation link to the search page
  10. Go to your site, then click on the navigation link you just added.
  11. The search form should appear. Type some text then submit the form to display the results.