Files
VITEC-website/composer.json
Oliver Rasche 710f95794c Add Solr search: EXT:solr 14 integration and JSON search endpoint
Apache Solr 10 runs on a dedicated VPS behind a Caddy HTTPS proxy
(vitecsolr.evomedien.de) because the managed webserver only allows
outgoing standard ports. Credentials stay out of git: the site config
carries %env()% placeholders resolved via putenv() in the git-ignored
config/system/additional.php.

- composer: apache-solr-for-typo3/solr 14.0.0-RC1 (the only line
  compatible with TYPO3 14; final 14.0.0 will arrive via composer update)
- config.yaml: read connection https/443, core_en per language,
  env placeholder credentials; .gitignore covers additional.php
- setup.typoscript: config.index_enable = 1 (page indexing silently
  refuses without it), solr_pi_results JSON renderer registration,
  results highlighting, and content field extraction from tt_content
  rows - the headless JSON output has no TYPO3SEARCH markers, so the
  default page content extraction indexed an empty content field
- SearchJsonRenderer (renderer #27): JSON output for the search plugin
  on /search. GET q/page in; { query, page, resultsPerPage, numFound,
  totalPages, results[], suggestions } out. Disables the page cache per
  request: config.no_cache is gone in TYPO3 v14, and q/page are
  excluded from cHash, so cached variants would collide
- ext_localconf.php: q and page added to cacheHash excludedParameters
- SolrIndexCommand (vitec:solr-index): works the index queue from the
  CLI with connection diagnostics and a --debug single-step mode -
  EXT:solr 14 ships no console commands and the backend button indexes
  one item per click
2026-08-21 14:43:44 +02:00

69 lines
1.8 KiB
JSON

{
"name": "typo3/cms-base-distribution",
"description": "TYPO3 CMS Base Distribution",
"license": "GPL-2.0-or-later",
"type": "project",
"config": {
"allow-plugins": {
"b13/typo3-updater": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"platform": {
"php": "8.4.0"
},
"sort-packages": true
},
"require": {
"apache-solr-for-typo3/solr": "^14.0@RC",
"b13/container": "^3.1",
"b13/typo3-updater": "^1.1",
"evomedien/vitec": "^1.0.1",
"friendsoftypo3/content-blocks": "^2.4",
"friendsoftypo3/headless": "^5.0@rc",
"georgringer/news": "^14.0",
"netzbewegung/nb-headless-content-blocks": "^0.0.23",
"phpoffice/phpspreadsheet": "^5.9",
"plan2net/backend-category-hierarchy": "^14.0",
"typo3/cms-backend": "^14.3",
"typo3/cms-belog": "^14.3",
"typo3/cms-beuser": "^14.3",
"typo3/cms-core": "^14.3",
"typo3/cms-dashboard": "^14.3",
"typo3/cms-extbase": "^14.3",
"typo3/cms-extensionmanager": "^14.3",
"typo3/cms-felogin": "^14.3",
"typo3/cms-filelist": "^14.3",
"typo3/cms-fluid": "^14.3",
"typo3/cms-fluid-styled-content": "^14.3",
"typo3/cms-form": "^14.3",
"typo3/cms-frontend": "^14.3",
"typo3/cms-impexp": "^14.3",
"typo3/cms-info": "^14.3",
"typo3/cms-install": "^14.3",
"typo3/cms-reactions": "^14.3",
"typo3/cms-recycler": "^14.3",
"typo3/cms-rte-ckeditor": "^14.3",
"typo3/cms-scheduler": "^14.3",
"typo3/cms-seo": "^14.3",
"typo3/cms-sys-note": "^14.3",
"typo3/cms-tstemplate": "^14.3",
"typo3/cms-viewpage": "^14.3",
"typo3/cms-webhooks": "^14.3"
},
"repositories": [
{
"name": "t3planet",
"type": "composer",
"url": "https://composer.t3planet.cloud",
"only": [
"nitsan/ns_theme_reactbootstrap"
]
},
{
"type": "path",
"url": "./packages/*"
}
]
}