You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jane Sandberg edited this page Sep 29, 2020
·
2 revisions
To make a change that modifies search behavior (relevance):
If you need to index some additional records to recreate and test the behavior in a dev instance, add those records to the spec/fixtures/files directory. Note that OCLC records will need to list the record's database in the 950$a
Refresh your sample data with docker-compose rm -sf solr && docker-compose up -d solr && docker-compose exec app bin/rake findit:data:index:sample
Make your changes to the solr/conf directory.
Run docker-compose restart solr to pick up your configuration changes.
Run the existing test suite to make sure that your changes don't introduce any regressions (docker-compose exec app bin/rspec)
Add at least one test for your new behavior. The rspec-solr matchers can be very useful for these tests.
Create and submit a pull request. CircleCI will check to make sure that all the tests pass.