{"id":20329356,"url":"https://github.com/ddev/ddev-typo3-solr","last_synced_at":"2026-02-27T23:17:35.237Z","repository":{"id":229841372,"uuid":"762432120","full_name":"ddev/ddev-typo3-solr","owner":"ddev","description":" Use Apache Solr (standalone) in your DDEV project ","archived":false,"fork":false,"pushed_at":"2025-04-11T07:14:12.000Z","size":302,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-11T09:18:36.952Z","etag":null,"topics":["ddev-get"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["ddev"],"custom":["https://www.paypal.com/donate/?hosted_button_id=MCNCSZHC7LHSQ","https://ddev.com/support-ddev/"]}},"created_at":"2024-02-23T19:11:00.000Z","updated_at":"2025-04-11T07:14:14.000Z","dependencies_parsed_at":"2024-03-26T15:24:40.384Z","dependency_job_id":"fe6c0e18-beab-4344-8eb5-fcd40bd38a88","html_url":"https://github.com/ddev/ddev-typo3-solr","commit_stats":null,"previous_names":["ddev/ddev-typo3-solr"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Fddev-typo3-solr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Fddev-typo3-solr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Fddev-typo3-solr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Fddev-typo3-solr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddev","download_url":"https://codeload.github.com/ddev/ddev-typo3-solr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248479014,"owners_count":21110804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ddev-get"],"created_at":"2024-11-14T20:10:20.804Z","updated_at":"2026-02-27T23:17:35.219Z","avatar_url":"https://github.com/ddev.png","language":"Shell","funding_links":["https://github.com/sponsors/ddev","https://www.paypal.com/donate/?hosted_button_id=MCNCSZHC7LHSQ","https://ddev.com/support-ddev/"],"categories":[],"sub_categories":[],"readme":"[![add-on registry](https://img.shields.io/badge/DDEV-Add--on_Registry-blue)](https://addons.ddev.com)\n[![tests](https://github.com/ddev/ddev-typo3-solr/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/ddev/ddev-typo3-solr/actions/workflows/tests.yml?query=branch%3Amain)\n[![last commit](https://img.shields.io/github/last-commit/ddev/ddev-typo3-solr)](https://github.com/ddev/ddev-typo3-solr/commits)\n[![release](https://img.shields.io/github/v/release/ddev/ddev-typo3-solr)](https://github.com/ddev/ddev-typo3-solr/releases/latest)\n\n# DDEV TYPO3 Solr (standalone)\n\n## Overview\n\n[Apache Solr](https://solr.apache.org/) is the blazing-fast, open source, multi-modal search platform built on the full-text, vector, and geospatial search capabilities of Apache Lucene™.\n\nThis add-on integrates Solr standalone (no cloud) into your [DDEV](https://ddev.com/) project and creates Solr cores according to the configuration defined in [`.ddev/typo3-solr/config.yaml`](typo3-solr/config.yaml).\n\nThis add-on is meant to be a simple integration for DDEV, as it does not work with Solr Cloud and only for Solr standalone. Most web projects use Solr in standalone-mode so this add-on simulates this behaviour for local environments.\n\n## Installation\n\n```bash\nddev add-on get ddev/ddev-typo3-solr\nddev restart\n```\n\nAfter installation, make sure to commit the `.ddev` directory to version control.\n\n## Usage\n\n| Command | Description |\n| ------- | ----------- |\n| `ddev solrctl --help` | Create and destroy solr cores and configsets |\n| `ddev solr` | Run Solr CLI inside the Solr container |\n| `ddev launch :8984` | Open Solr Admin in your browser (`https://\u003cproject\u003e.ddev.site:8984`) |\n| `ddev describe` | View service status and used ports for Solr |\n| `ddev logs -s typo3-solr` | Check Solr logs |\n\n## Configuration\n\n### Create cores and its configuration\n\nConfiguration example for TYPO3 in `.ddev/typo3-solr/config.yaml`:\n\n```yaml\nconfig: 'vendor/apache-solr-for-typo3/solr/Resources/Private/Solr/solr.xml'\ntypo3lib: \"vendor/apache-solr-for-typo3/solr/Resources/Private/Solr/typo3lib\"\nconfigsets:\n    - name: \"ext_solr_12_0_0\"\n      path: \"vendor/apache-solr-for-typo3/solr/Resources/Private/Solr/configsets/ext_solr_12_0_0\"\n      cores:\n          - name: \"core_en\"\n            schema: \"english/schema.xml\"\n          - name: \"core_de\"\n            schema: \"german/schema.xml\"\n```\n\n```bash\nddev solrctl apply\n```\n\nTo ensure the cores are created automatically on boot, add the following hook to your `.ddev/config.yaml`:\n\n```yaml\nhooks:\n  post-start:\n    - exec-host: ddev solrctl apply\n```\n\n### Example configuration for TYPO3\n\nTo connect to the solr service you have to configure the following lines in your site configuration:\n\n```yaml\nsolr_enabled_read: true\nsolr_host_read: \u003cyour-site\u003e.ddev.site\nsolr_path_read: /\nsolr_port_read: '8984'\nsolr_scheme_read: https\n```\n\n### Delete cores and its configuration\n\n```bash\nddev solrctl wipe\n```\n\n\u003e [!NOTE]\n\u003e After running `wipe`, it may take a few seconds until files are synced which may\n\u003e cause issues when running `apply` straight after `wipe`.\n\n### Running the solr control script\n\n```bash\nddev solr\n```\n\n## Advanced Customization\n\n### Using alternate versions of Solr\n\nThis addon defaults to installing a preferred version of the [docker Solr image](https://hub.docker.com/_/solr), but can be configured to use a different version via environment variable (`SOLR_BASE_IMAGE`).\n\n```bash\n# Change image version as appropriate.\nddev dotenv set .ddev/.env.solr --solr-base-image=\"solr:9.8\"\n\nddev add-on get ddev/ddev-typo3-solr\n\n# remove old solr volume (if this is downgrade)\nddev stop\ndocker volume rm ddev-$(ddev status -j | docker run -i --rm ddev/ddev-utilities jq -r '.raw.name')_typo3-solr\n\n# rebuild solr image (required step)\nddev debug rebuild -s typo3-solr\n\nddev restart\n\n# confirm the new Solr version\nddev solr version\n```\n\nMake sure to commit the `.ddev/.env.solr` file to version control.\n\nAll customization options (use with caution):\n\n| Variable | Flag | Default |\n| -------- | ---- | ------- |\n| `SOLR_BASE_IMAGE` | `--solr-base-image` | `solr:9.8` |\n\n## Credits\n\n**Maintained by [@b13](https://github.com/b13)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddev%2Fddev-typo3-solr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddev%2Fddev-typo3-solr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddev%2Fddev-typo3-solr/lists"}