esmero / archipelago-deployment

Archipelago Commons Docker Deployment Repository
33 stars 15 forks source link

Upgrade to Solr 9.1.x #242

Open DiegoPino opened 1 year ago

DiegoPino commented 1 year ago

What?

As documented here https://github.com/apache/lucene/commit/98dafe2e1047cdfe8ed8bbfb444fab2798193a9f Solr 8/Lucene 8 has a long standing bug that affects our Community (Librarian/Museum) needs for very complex exact matches.

This binds with https://github.com/esmero/strawberryfield/issues/263

Changes needed are: New OCR highlight component (moving to 0.8.4), Solr Field types, Schema, Config and core.conf changes. Upgrade itself does not imply loosing data but a reindex is encouraged

Plus code changes to avoid the Solr 9 defaults that don't play with Search API Solr.

I have all tested locally. Will clean, package and make a pull against 1.1.0

DiegoPino commented 2 months ago

This is done, but we have no perfect step by step documentation. Being really the simples way to backup your core. Clear your core, get the new configs + the new OCR library, replace the container and start it again. Then re-index. Honestly that is the only way. But will keep this open I find time to document or someone in the community gives us a hand