Apache Solr for TYPO3
Source: https://github.com/dirnbauer/webconsulting-skills
Compatibility: This skill targets TYPO3 v14.x. Match EXT:solr (and Solr server version) using the official Version Matrix and Packagist —
14.0.xavailability may lag docs; use the branch/matrix the project documents until a stable tag ships.
All custom PHP examples use TYPO3 v14 conventions (PHP 8.2+, constructor promotion,
#[AsEventListener]where shown).
TYPO3 API First: Always use TYPO3's built-in APIs and EXT:solr's TypoScript/PSR-14 events before creating custom implementations. Do not reinvent what EXT:solr already provides.
Sources
This skill is based on the following authoritative sources:
- EXT:solr Documentation
- EXT:tika Documentation
- Version Matrix
- GitHub: TYPO3-Solr/ext-solr
- GitHub: main branch (14.0.x-dev)
- Apache Solr Reference Guide
- Solr Dense Vector Search
- Solr Text to Vector (LLM)
- typo3-solr.com
- hosted-solr.com
- ddev-typo3-solr
- Mittwald Solr Docs
- helhum/dotenv-connector
1. Architecture Overview
EXT:solr connects TYPO3 CMS to an Apache Solr search server, providing full-text search, faceted navigation, autocomplete, and (on supported Solr 9.x builds) dense-vector / semantic features where enabled.
graph LR
subgraph typo3 [TYPO3 CMS]
Editor[Editor creates/edits content]
Monitor[Monitoring detects changes]
Queue[Index Queue]
Scheduler[Scheduler Worker]
Plugin[Search Plugin]
end
subgraph solr [Apache Solr Server]
Core[Solr Core]
Schema[Schema / Configset]
end
Editor --> Monitor
Monitor --> Queue
Queue --> Scheduler
Scheduler -->|HTTP POST documents| Core
Plugin -->|HTTP GET query| Core
Core --> Plugin
Document Lifecycle
sequenceDiagram
participant E as Editor
participant T as TYPO3
participant M as Monitor
participant Q as Index Queue
participant S as Scheduler
participant Solr as Solr Server
E->>T: Create/edit record
T->>M: DataHandler triggers PSR-14 event
M->>Q: Add/update queue item
Note over Q: tx_solr_indexqueue_item
S->>Q: Poll for pending items
Q->>S: Return items to index
S->>Solr: POST document (JSON)
Solr-->>S: 200 OK
S->>Q: Mark item as indexed
Component Overview
| Component | Package | Purpose | Required? |
|-----------|---------|---------|-----------|
| EXT:solr | apache-solr-for-typo3/solr | Core search integration | Yes |
| EXT:tika | apache-solr-for-typo3/tika | Text/metadata extraction from files | Only for file indexing |
| EXT:solrfal | Funding extension | FAL file indexing into Solr | Only for file indexing |
| EXT:solrconsole | Funding extension | Backend management console | Optional |
| EXT:solrdebugtools | Funding extension | Query debugging, score analysis | Optional (recommended for dev) |
<!-- SCREENSHOT: backend-module-overview.png - EXT:solr backend module main view -->
2. Version compatibility matrix (upstream)
Target for this skill: TYPO3 v14.x with the EXT:solr release row that matches your Core on the official Version Matrix. Older rows are reference only for legacy sites.
| EXT:solr | TYPO3 | Apache Solr | Configset | PHP | EXT:tika | EXT:solrfal |
|----------|-------|-------------|-----------|-----|----------|-------------|
| 14.0.x (see matrix / Packagist) | 14.x | per matrix | ext_solr_14_0_0 (when used) | ^8.2 | per matrix | per matrix |
| 13.1.x | (not a target for this collection) | 9.10.1 | ext_solr_13_1_0 | ^8.2 | 13.1 | 13.0 |
While 14.0.x has no stable tag on Packagist (betas are published), follow the TYPO3 v14 Readiness subsection below (^14.0@beta / docs workflow) until a stable tag ships.
TYPO3 v14 Readiness
The Version Matrix targets TYPO3 14.3 + EXT:solr 14.0 + Apache Solr 10.0.0 + ext_solr_14_0_0 (Solr 9.10.1 belongs to EXT:solr 13.1/12.1). Upstream development is on