scientist-softserv / oral-history

UCLA LIBRARY-CENTER FOR ORAL HISTORY RESEARCH --Documenting the histories of Los Angeles-- The UCLA Library creates a vibrant nexus of ideas, collections, expertise, and spaces in which users illuminate solutions for local and global challenges. We constantly evolve to advance UCLA’s research, education, and public service mission by empowering and
https://oralhistory.library.ucla.edu/
0 stars 0 forks source link

i25-upgrade-solr #27

Closed summer-cook closed 1 year ago

summer-cook commented 1 year ago

ref ticket: https://github.com/scientist-softserv/oral-history/issues/25

Upgrades to solr 8.11 removes <filter class="solr.StandardFilterFactory"/> from the schema.xml file as the suggested replacement already exists <filter class="solr.LowerCaseFilterFactory"/> - documentation: https://stackoverflow.com/questions/56913835/upgrade-filter-in-schema-xml-with-solr-standardfilterfactory-from-existing-core

Video demo: https://share.getcloudapp.com/L1uDJ0j5

aprilrieger commented 1 year ago

Yes here is my workflow for testing:

get .env.development here: https://start.1password.com/open/i?a=LTLZ652TT5H5FHMYMASSH7PIXM&v=huuakin4bu4xanlhktv42qheam&i=ok6rwracafccnhrhur7usyfwoi&h=scientist.1password.com

gem install stack_car -v0.16.0 gem install dory

dory up sc build sc up

navigate to http://oralhistory.test/users/sign_in login: creds in the .env

navigate to http://oralhistory.test/admin

run importer OR run in web container rake db:migrate import[10] [#] <— amount of works you import

Need troubleshooting tips? If you do a dc down -v, odds are you will want to do a rm -rf tmp/*

orangewolf commented 1 year ago

if you open the solr admin interface does it show the solr 8 version? (just trying to be thorough)

aprilrieger commented 1 year ago

documentation ERROR: Error CREATEing SolrCore 'blacklight-core': Unable to create core [blacklight-core] Caused by: solr.StandardFilterFactory: https://github.com/projectblacklight/blacklight/pull/2017/files

aprilrieger commented 1 year ago

@orangewolf This is ready for re-review.

Note that I needed this PR merged into the branch for the linking to the correct field retriever on this pr in the demo video. Demo video here: https://share.getcloudapp.com/L1uDJ0j5

orangewolf commented 1 year ago

@aprilrieger good work!