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

Update luceneMatchVersion in solrconfig.xml #6161

Open
2 tasks
cjcolvar opened this issue Jan 8, 2025 · 1 comment
Open
2 tasks

Update luceneMatchVersion in solrconfig.xml #6161

cjcolvar opened this issue Jan 8, 2025 · 1 comment

Comments

@cjcolvar
Copy link
Member

cjcolvar commented Jan 8, 2025

Description

The luceneMatchVersion in our solrconfig.xml still says 5.0.0 which produces deprecation warnings when starting up solr. We should evaluate what a good version should be and if it impacts any of our queries. Bumping the version will also require a full reindex (see https://solr.apache.org/guide/solr/latest/indexing-guide/reindexing.html#solrconfig-changes).

solr-1  | 2025-01-08 18:51:35.311 INFO  (coreLoadExecutor-13-thread-1) [c: s: r: x:avalon t:] o.a.s.c.SolrConfig Using Lucene MatchVersion: 5.0.0
solr-1  | 2025-01-08 18:51:35.382 WARN  (coreLoadExecutor-13-thread-1) [c: s: r: x:avalon t:] o.a.s.s.FieldTypePluginLoader TokenizerFactory is using deprecated 5.0.0 emulation. You should at some point declare and reindex to at least 8.0, because 7.x emulation is deprecated and will be removed in 9.0

There are other deprecation warnings that should be explored as well:

solr-1  | 2025-01-08 18:51:35.335 WARN  (coreLoadExecutor-13-thread-1) [c: s: r: x:avalon t:] o.a.s.c.SolrConfig Ignored deprecated enableRemoteStreaming in config; use sys-prop
solr-1  | 2025-01-08 18:51:35.416 WARN  (main) [c: s: r: x: t:] o.g.j.m.i.MessagingBinders A class jakarta.activation.DataSource for a default provider MessageBodyWriter<jakarta.activation.DataSource> was not found. The provider is not available.
solr-1  | 2025-01-08 18:51:35.473 WARN  (coreLoadExecutor-13-thread-1) [c: s: r: x:avalon t:] o.a.s.s.AbstractSpatialPrefixTreeFieldType FieldType DateRangeField does not allow omitNorms to be specified in schema, hardcoded behavior is omitNorms=true
solr-1  | 2025-01-08 18:51:35.473 WARN  (coreLoadExecutor-13-thread-1) [c: s: r: x:avalon t:] o.a.s.s.AbstractSpatialPrefixTreeFieldType FieldType DateRangeField does not allow omitTermFreqAndPositions to be specified in schema, hardcoded behavior is omitTermFreqAndPositions=true

Done Looks Like

  • Bump luceneMatchVersion
  • Explore deprecation warnings and resolve
@joncameron
Copy link
Contributor

joncameron commented Jan 8, 2025

We'll be forced to do this when upgrading to 10. If this does go away in a later Solr 9.x version, we'll catch it with CircleCI against the Solr 9 Docker image.

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