Skip to content

[TASK] Apache Solr 10 configset compatibility#4562

Open
dkd-dobberkau wants to merge 4 commits intoTYPO3-Solr:mainfrom
dkd-dobberkau:task/solr-10-compatibility
Open

[TASK] Apache Solr 10 configset compatibility#4562
dkd-dobberkau wants to merge 4 commits intoTYPO3-Solr:mainfrom
dkd-dobberkau:task/solr-10-compatibility

Conversation

@dkd-dobberkau
Copy link
Copy Markdown
Contributor

Summary

  • Rename org.apache.solr.llm.*org.apache.solr.languagemodels.* (module renamed in Solr 10)
  • Remove response writers removed in Solr 10: PHPResponseWriter, PHPSerializedResponseWriter, XSLTResponseWriter
  • Remove explicit BinaryResponseWriter registration (now built-in)
  • Update PHP reference in TextToVectorModelStoreStatus

Relates: #4519
See also: TYPO3-Solr/solr-typo3-plugin#45 (plugin recompiled for Solr 10)

Test plan

  • Start Solr 10 with updated configset (user-managed mode: --user-managed)
  • Verify cores load without errors
  • Test search and indexing functionality

🤖 Generated with Claude Code

- Rename org.apache.solr.llm.* to org.apache.solr.languagemodels.*
  (module renamed from llm to language-models in Solr 10)
- Remove response writers removed in Solr 10:
  PHPResponseWriter, PHPSerializedResponseWriter,
  XSLTResponseWriter (scripting module removed)
- Remove explicit BinaryResponseWriter registration
  (now built-in in Solr 10)
- Update PHP class reference for TextToVectorQParserPlugin

Relates: TYPO3-Solr#4519

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dkd-kaehm
Copy link
Copy Markdown
Collaborator

All queryResponseWriter except JSON in Resources/Private/Solr/configsets/ext_solr_14_0_0/conf/solrconfig.xml and possible other places must be removed.

#4483 lists breakings I recognized in main branch of apache solr repo...

dkd-dobberkau and others added 3 commits March 6, 2026 14:46
Remove obsolete queryResponseWriter entries (php, phps, velocity, xslt,
javabin) from test fixture solrconfig.xml to align with Solr 10 compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Upgrade Docker base image from solr:9.10.1 to solr:10.0.0
- Start Solr in user-managed (standalone) mode via --user-managed flag
- Set SOLR_MODULES env with Solr 10 compatible modules
  (analytics removed, llm renamed to language-models)
- Simplify solr.xml: remove solrcloud section, shardHandlerFactory,
  and deprecated parameters (hostContext, genericCoreNodeNames)
- Modules now configured via SOLR_MODULES environment variable

Relates: TYPO3-Solr#4519

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace solr-typo3-plugin-6.0.0.jar with 6.1.0 compiled against
Solr 10.0.0 API. Fixes AccessFilterQParserPlugin.getSolrMetricsContext()
AbstractMethodError.

Relates: TYPO3-Solr#4519

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

2 participants