This module provides a Search adapter for Solr.
- PHP >= 8.0
- Omeka S >= 3.1.0
- Solr >= 5.1.0
- Install the Search module
- Install this module
- In the administration menu, click on "Solr"
- Edit the default node and set the URI of your Solr instance.
- Go to the mappings section of the default node (the icon next to the edit icon)
- Create an item mapping with
dcterms:title
as source anddcterms_title_txt
as Solr field - Edit the Solr node again and type
dcterms_title_txt
in "Query fields (qf)" - In Search admin pages:
- Add a new index using the Solr adapter
- Launch the indexation by clicking on the "reindex" button (two arrows forming a circle)
- Add a page using the created index
- In page configuration, you can enable/disable facet and sort fields (more fields can be created by going to the Solr admin page)
- In your site configuration, add a navigation link to the search page
- Go to your site, then click on the navigation link you just added.
- The search form should appear. Type some text then submit the form to display the results.