pulibrary / pdc_discovery

Princeton Data Commons discovery portal for Research Data
10 stars 0 forks source link

Clean up Solr config #625

Open acozine opened 2 months ago

acozine commented 2 months ago

We see one error and one warning about PDC_discovery in the Solr logs running on Jammy/Java17.

The error is o.a.s.c.RecoveryStrategy No UpdateLog found - cannot recover. We think we can fix this with the change from here: https://github.com/pulibrary/pul_solr/pull/252/files#diff-db77897050f32a1cd7706d918c73228ea0c185d432cd63211b42642ff9b988d9.

The warning is o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Documentation: Deprecated class Replacement class The docs say we should also use https://lucene.apache.org/core/8_0_0/analyzers-common/org/apache/lucene/analysis/core/FlattenGraphFilterFactory.html at index time. See also https://www.mail-archive.com/users@solr.apache.org/msg00113.html for an example.

Related to #537.