Short answer: Apache Solr for TYPO3 means the extension EXT:solr plus a separate Solr search server. You install the extension, deploy its config set to Solr, connect your site, fill the index queue and add the search plugin.
Updated 2 December 2026 | T3Planet editorial team
Welcome to Search Series 3. Are you looking for an Apache Solr extension for TYPO3? This guide takes you from the basic setup to more advanced configuration. If you plan to add AI-assisted search later, T3AS AI Search and AI Foundation show what T3Planet offers on top of classic TYPO3 search.
TYPO3 Search Series
- Search #1 Easy Guide to TYPO3 Indexed Search
- Search #2 Compact Guide to TYPO3 ke_search
- Search #3 Apache Solr for TYPO3 (this guide)
In our #T3POLL on the best TYPO3 search solution for SMB, most people voted for the Apache Solr extension for TYPO3.
What is Apache Solr?
Apache Solr (Searching On Lucene) is a free, open-source search engine based on the Apache Lucene library.
Solr is a standalone enterprise search server with a REST-like API.
You put documents in it (called "indexing") via JSON, XML, CSV or binary over HTTP. You query it via HTTP GET and receive JSON, XML, CSV or binary results.
Solr vs ElasticSearch
Apache Solr and Elasticsearch
Both are search engines built on Apache Lucene. Solr is open source under the Apache License 2.0 and is the engine that EXT:solr is built for. EXT:solr works with Solr only, not with Elasticsearch.
Features of Apache TYPO3 Solr
- Full-text search with ranking
- Built for high traffic
- Open interfaces: XML, JSON and HTTP
- Administration interface
- Monitoring
- Scalable and fault-tolerant setups
- Flexible configuration
- Near real-time indexing
- Extensible plugin architecture
Architecture of Apache Solr
Introduction to TYPO3 Solr Extension (EXT:solr)
In this article, I’m going to explain, One of the most popular TYPO3 extensions called EXT:solr.
- Search extension for TYPO3
- Based on Apache Solr
- Indexing of pages & custom records
- Powerful frontend (Faceting, Auto-suggest, Autocorrect, etc.)
- Stopwords & Synonyms
- OpenSource Project https://github.com/TYPO3-Solr/
- Official Website: https://www.typo3-solr.com/
- Financed & Powered with EB & EAP partners
What is the architecture of Apache Solr TYPO3 Extension & How it works?
What are the ways to use Apache Solr with TYPO3?
You can install, configure and use Apache Solr for TYPO3 in different ways, based on your budget and needs.
Option #1 Self-hosted Apache Solr
Both Apache Solr and TYPO3 are open source, so you can run them self-hosted or in the cloud.
Option #2 Get it from a web host
If you prefer not to run the server yourself, a host can set it up for you. Jweiland, one of the oldest TYPO3 hosting providers, offers TYPO3 Solr web hosting.
Option #3 Specialised Apache Solr service provider
If you want deep Solr expertise, talk to the team DKD, who develop and maintain the EXT:solr extension.
solr
500000+
Features of Solr TYPO3 Extension
- Autosuggest
- Boosting of results
- Consideration of user access rights
- Content elevation
- Content indexing
- Faceted search
- Language analysis
- Multi-language handling
- Performance
- Search word highlighting
- Sorting of results
- Spell checker
- Stopword support
- Synonym support
How to Use & Install Apache Solr TYPO3?
You can install and configure Apache Solr with or without Docker.
Option #1 Install-Solr.sh
With the extension, it ships and installs a script that can be used for a TYPO3 development context.
chmod u+x ./Resources/Private/Install/install-solr.sh
./Resources/Private/Install/install-solr.sh -d /home/developer Option #2 Using Docker
You can easily install Apache TYPO3 Solr extension through this docker image hub.docker.com/r/typo3solr/ext-solr/.
// Pull TYPO3 Apache Solr Docker Image
docker pull typo3solr/ext-solr:<EXT:Solr_Version>
// Start container with anonymous volume
docker run --name=typo3s-solr-server -d -p 8983:8983 typo3solr/ext-solr
docker inspect -f '{{ .Mounts }}' typo3s-solr-server
// Start container with volume on hosts path
mkdir .solrdata
docker volume create --name typo3s-solr-server-data --opt type=none --opt device=$PWD/.solrdata --opt o=bind
docker run --name=typo3s-solr-server --mount source=typo3s-solr-server-data,target=/var/solr -d -p 8983:8983 typo3solr/ext-solr Test-Dive To Check Solr Up & Runs
// Copy default solr file
cp -r ${EXTENSION_ROOTPATH}/Resources/Private/Solr/configsets ${SOLR_INSTALL_DIR}/server/solr
cp ${EXTENSION_ROOTPATH}/Resources/Private/Solr/solr.xml ${SOLR_INSTALL_DIR}/server/solr/solr.xml
// Copy the default cores:
cp -r ${EXTENSION_ROOTPATH}/Resources/Private/Solr/cores ${SOLR_INSTALL_DIR}/server/solr
// Create a core with the rest API:
curl "http://localhost:8983/solr/admin/cores?action=CREATE&name=core_de&configSet=ext_solr_8_0_0&schema=german/schema.xml&dataDir=../../data/german" How to Install TYPO3 Solr Extension?
Option #1 Install from TER
Go to the Extension Manager, select Get Extensions and search for "solr".
Option #2 Install from the TYPO3 Solr GitHub
git clone git@github.com:TYPO3-Solr/ext-solr.git solr
Option #3 Install with Composer
composer require apache-solr-for-typo3/solr
Check the EXT:solr documentation for the release that matches your TYPO3 version.
Step 2. Integrate TYPO3’s standard Search Markers
// TypoScript Setup
page.10 {
stdWrap.dataWrap = <!--TYPO3SEARCH_begin-->|<!--TYPO3SEARCH_end-->
}
// Or you can configure at your Fluid Template too # sites/yoursite/config.yaml
base: 'http://yoursite.com/'
baseVariants: { }
errorHandling: { }
languages:
-
title: English
enabled: true
base: /
typo3Language: default
locale: en_US.UTF-8
iso-639-1: en
navigationTitle: ''
hreflang: en-US
direction: ''
flag: global
solr_host_read: solr_node_1
solr_core_read: core_en
languageId: '0'
-
title: German
enabled: true
base: /de/
typo3Language: de
locale: de_DE.UTF-8
iso-639-1: de
navigationTitle: ''
hreflang: de-DE
direction: ''
flag: global
solr_host_read: solr_node_2
solr_core_read: core_de
languageId: '1'
rootPageId: 3
routes: { }
solr_enabled_read: true
solr_path_read: /solr/
solr_port_read: 8983
solr_scheme_read: http
solr_use_write_connection: false How to Customize the TYPO3 Solr Fluid Template?
Configure your custom TYPO3 Fluid template to TYPO3 Solr Extension.
# TypoScript Setup
plugin.tx_solr {
view {
layoutRootPaths.10 = EXT:yourpath/Layouts/
partialRootPaths.10 = EXT:yourpath/Partials/
templateRootPaths.10 = EXT:yourpath/Templates/
}
} # TypoScript Setup
plugin.tx_solr.search {
suggest = 1
suggest {
numberOfSuggestions = 10
suggestField = spell
showTopResults = 1
numberOfTopResults = 5
}
} # TypoScript Setup
plugin.tx_solr.search.faceting.facets.[faceName].type = [typeName]
plugin.tx_solr.search {
faceting = 1
faceting {
facets {
contentType {
label = Content Type
field = type
}
}
}
} 4. How to Index Custom Records in TYPO3 Solr Extension?
# TypoScript Setup
plugin.tx_solr.index.queue {
news = 1
news {
table = tx_news_domain_model_news
fields {
abstract = teaser
author = author
authorEmail_stringS = author_email
title = title
content = SOLR_CONTENT
content {
cObject = COA
cObject {
10 = TEXT
10 {
field = bodytext
noTrimWrap = || |
}
}
}
category_stringM = SOLR_RELATION
category_stringM {
localField = categories
multiValue = 1
}
keywords = SOLR_MULTIVALUE
keywords {
field = keywords
}
tags_stringM = SOLR_RELATION
tags_stringM {
localField = tags
multiValue = 1
}
url = TEXT
url {
typolink.parameter = {$plugin.tx_news.settings.detailPid}
typolink.additionalParams = &tx_news_pi1[controller]=News&
tx_news_pi1[action]=detail&tx_news_pi1[news]={field:uid}
typolink.additionalParams.insertData = 1
typolink.useCacheHash = 1
typolink.returnLast = url
}
}
attachments {
fields = related_files
}
}
}
plugin.tx_solr.logging.indexing.queue.news = 1 # TypoScript Setup
plugin.tx_solr {
search {
results {
resultsPerPage = 6
resultsPerPageSwitchOptions = 12, 18, 24
}
}
} 7. How can I configure sorting in TYPO3 Solr?
# TypoScript Setup
plugin.tx_solr.search.sorting >
plugin.tx_solr.search {
sorting = 1
sorting {
defaultOrder = asc
options {
relevance {
field = relevance
label = Relevance
}
title {
field = sortTitle
label = Title
}
}
}
}
6. How can I exclude language in TYPO3 Solr?
# TypoScript Setup
plugin.tx_solr.enabled = 0
[globalVar = GP:L = 0]
plugin.tx_solr {
enabled = 1
solr.path = /solr/core_de/
}
[globalVar = GP:L = 8|9]
plugin.tx_solr {
enabled = 1
solr.path = /solr/core_en/
} 8. How can I enable AJAX Search in TYPO3 Solr?
Helpful TYPO3 Solr Extensions
The TYPO3 community developed a few good add-on TYPO3 solr extensions as follows.
1. TYPO3 Solr Find
This TYPO3 extension aims to enable the query and display of arbitrary Solr indexes. It provides the ability to configure many aspects of the query – e.g. query fields, facets, filtering through TypoScript – and set up the display through Fluid templates. Partials for standard display features as well as several View Helpers that help to create those templates are included in the extension.
2. Solr file indexing
This extension gives you the capability to index individual documents using Solr. Apache Tika, which is capable of detecting and extracting metadata from approx. 1200 different file types are used for document content analysis. The configuration for Tika can be implemented directly within the extension, Solr server functionality is then used for parsing. Individual documents can be added to the search index for the default language or any localization; likewise, site roots can be selected for which the document is too indexed.
3. DDEV Apache Solr for TYPO3 System
Get going quickly with TYPO3 CMS and Apache Solr.
ddev start
http://solr-ddev-site.ddev.site/
http://solr-ddev-site.ddev.site/typo3/ By d way, you can also configure Apache Solr for DDEV from their official guideline https://ddev.readthedocs.io/en/stable/users/extend/additional-services/
4. Solr TYPO3 Plugin
The Solr TYPO3 plugin provides the AccessFilterQParserPlugin, which is a org.apache.solr.search.QParserPlugin that allows restricting access to Solr documents indexed by TYPO3 on a document level.
5. EXT:solr_file_indexer
This extension gives you the capability to index individual documents using Solr.
Apache Tika, which is capable of detecting and extracting metadata from approx. 1200 different file types are used for document content analysis. The configuration for Tika can be implemented directly within the extension, Solr server functionality is then used for parsing.
6. Apache Tika for TYPO3
Provides Tika services for TYPO3 to detect a document's language, extract metadata, and extract content from files. Can either use a stand-alone Tika executable or Tika integrated into a Solr server with an activated extracting request handler.
7. JW tools
Jwtools2 contains a scheduler task for Solr to index multiple Pages Trees and a job to execute SQL-Queries. Further, there are settings to enable some features in TYPO3 like showing the Page UID in Pagetree with a simple click in the extension manager.
Help, Contribute & Become Sponsor to TYPO3 Solr Extension
Team DKD working hard to develop and maintain TYPO3 EXT:solr, You can help and contribute with the below ways.
- Contribute to Github: You can fix bugs/issues at TYPO3 Solr Github https://github.com/TYPO3-Solr/ext-solr, Check Contribution.
- Slack channel: Help people at TYPO3 Slack channel https://typo3.slack.com/messages/ext-solr/
- Become EB Partner: If you are not technical, then still can help by becoming a sponsor of TYPO3
Frequently asked questions
What is Apache Solr for TYPO3?
It is the extension EXT:solr together with an Apache Solr search server. EXT:solr indexes your pages and records into Solr and shows results with facets, suggestions and highlighting.
How do I install EXT:solr?
Install it from TER, from GitHub or with Composer (composer require apache-solr-for-typo3/solr). Then deploy the config set to your Solr server and connect your site in the site configuration.
Do I need a separate Solr server?
Yes. EXT:solr connects TYPO3 to an Apache Solr server. You can run it yourself, for example with the shipped install script or Docker, or get it from a hosting provider.
How do I index my TYPO3 content in Solr?
Open Admin Tools, Search, Index Queue and queue the selected content. To keep the index current, add the Index Queue Worker task in the Scheduler.
Is EXT:solr free?
EXT:solr is an open source project. Costs come from running or hosting the Solr server and from any support you book.
How is EXT:solr different from TYPO3 indexed search?
Indexed search is part of the core and needs no extra server. EXT:solr uses an external Solr server and adds features such as facets and suggestions.
Conclusion
You now know the concept, the setup and the main steps of Apache Solr for TYPO3. In short:
- Understand the concept, architecture and installation of Apache Solr.
- Install and configure EXT:solr.
- Study the TYPO3 Solr backend modules.
- Test and customise the frontend plugin with forms, search results and filters. The official EXT:solr documentation covers every option.
- Try other TYPO3 Solr add-on extensions from TER and the TYPO3 Solr GitHub.
- Give back to the community by sponsoring the EXT:solr project of DKD.
Solr offers strong search features, and many companies work with a TYPO3 full-service agency to fit the search to their business needs. Do you have problems to install, configure or use EXT:solr? Write your questions in the comment box.
For AI-assisted search on top of your site, see T3AS AI Search and the TYPO3 AI Universe.
Have a happy TYPO3 Solr search!
Want to go further? See all TYPO3 extensions from T3Planet.
Anna Scholz
Extension Support SpecialistAnna knows TYPO3 extensions inside out. With hands-on experience supporting both core and custom solutions at T3Planet Shop, she delivers answers that are not only correct but smart. Her priority: helping users unlock the full power of TYPO3 without the guesswork.
More From Author