Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up seamless updating of indexes on Solr #9

Open
andrew-morrison opened this issue Feb 1, 2018 · 0 comments
Open

Set up seamless updating of indexes on Solr #9

andrew-morrison opened this issue Feb 1, 2018 · 0 comments
Assignees

Comments

@andrew-morrison
Copy link
Contributor

At the moment, there is a gap of a few seconds between clearing a index and the new content being uploaded and indexed.

That probably isn't a problem, but if something in the new data is rejected by Solr (e.g. bodleian/medieval-mss#118) then the web site will lack that index (most likely the manuscript one, so the manuscript view pages will be blank too) until it is fixed. Again, if the practice of testing first on QA before loading to production is followed (as Matthew did in that example) then it is fine, but it would be good to make it foolproof.

The proposed solution is to copy the setup on Digital.Bodleian and keep two index cores on solr01-prd, and have a third step in the indexing script that only swaps them if the first two steps don't return errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants