10 Schritte zur Installation der DDEV TYPO3 Solr Erweiterung

Suchen Sie nach einer schnellen Anleitung zur Installation und Konfiguration von DDEV TYPO3 Solr? DDEV ist eine Docker-basierte Entwicklungsumgebung und hat die eingebaute Fähigkeit, TYPO3 auf Solr laufen zu lassen. In dieser Anleitung erhalten Sie eine Schritt-für-Schritt-Anleitung zur Installation und Konfiguration von DDEV + TYPO3 + Apache + TYPO3 Solr Extension.

10 Schritte zur Installation der DDEV TYPO3 Solr Erweiterung

Suchen Sie nach einer schnellen Anleitung zur Installation und Konfiguration von DDEV TYPO3 Solr? DDEV ist eine Docker-basierte Entwicklungsumgebung und hat die eingebaute Fähigkeit, TYPO3 auf Solr laufen zu lassen. In dieser Anleitung erhalten Sie eine Schritt-für-Schritt-Anleitung zur Installation und Konfiguration von DDEV + TYPO3 + Apache + TYPO3 Solr Extension.

Step 1. ddev composer require apache-solr-for-typo3/solr

Step 2. ddev typo3 extension:deactivate solr && ddev typo3 extension:activate solr

Step 3. nano .ddev/docker-compose.solr.yaml

 

version: '3.6'

services:
  solr:
    container_name: ddev-${DDEV_SITENAME}-solr
    image: typo3solr/ext-solr:10.0.1
    restart: "no"
    expose:
      - 8983
    labels:
      com.ddev.site-name: ${DDEV_SITENAME}
      com.ddev.approot: $DDEV_APPROOT
    environment:
      - VIRTUAL_HOST=$DDEV_HOSTNAME
      - HTTP_EXPOSE=8983
    volumes:
      - "./solr:/opt/solr/server/solr"
      # If you want your solr to persist over `ddev stop` and `ddev start` then uncomment the following line
      # If you uncomment it and want to flush your data you have to `ddev stop` and then
      # `docker volume rm ddev-<projectname>_solrdata` to destroy it.
      # - solr:/var/solr
  web:
    links:
      - solr

volumes:
  # solr is a persistent Docker volume for this project's solr data
  # the volume will be named ddev-<project>_solr
  solr:

 

Step 4. mkdir -p .ddev/solr && cp -r public/typo3conf/ext/solr/Resources/Private/Solr/* .ddev/solr

Step 5. ddev restart

Step 6. Backend > Sites > Site Management > Your Site: Solr Tab > Host = solr

Step 6. Backend > Sites > Site Management > Your Site: Languages tab > Corename = core_en

Step 7. Backend > Web > Template > Includes: Add "Search - Base Configuration (solr) + Search - Default Stylesheets (solr)"

Step 8. Flush all caches

Step 9. Backend > Info > Apache Solr: Check connection with Apache Solr server.

Step 10. Backend > Apache Solr > Index Queue: Add to Queue and Index now!

Step 11. Test-drive Solr Server

Get hassle-free upgrade service from a certified TYPO3 Developer

  • 350+ Extensions upgrade to TYPO3 LTS versions
  • 150+ Completed TYPO3 upgrade sites (from v6 to current LTS)
  • 35+ Team of TYPO3 developers
  • 15+ Years of TYPO3 experience
  • 3 Package plans are available for the TYPO3 upgrade
  • 2 Days of quick support (reaction and resolution time)
TYPO3 Upgrade Gig
upgrade

Post a Comment

×