Skip to content

Add bundled Solr modules and local plugin JAR support - #84

Merged
AaronFeledy merged 1 commit into
mainfrom
feat/solr-addons
Nov 16, 2026
Merged

AaronFeledy merged 1 commit into
mainfrom
feat/solr-addons

Conversation

@AaronFeledy

@AaronFeledy AaronFeledy commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds two Solr 9/10 service options:

  • modules: enable bundled modules through SOLR_MODULES, including analysis-extras for ICU support.
  • plugins: load local JARs and their dependencies from a project-relative directory.

Local JARs are mounted read-only and copied into Solr home's shared library directory before startup. Managed JAR tracking removes deleted plugins on restart without replacing bundled libraries. Invalid options, escaping paths, missing directories, and library filename conflicts fail clearly.

Includes configuration docs, unit tests, and live Docker integration coverage in Linux CI.

Closes #58.

Validation

  • npm test: lint clean; 10 passing, 1 pre-existing pending.
  • npm run test:integration: all four module/local-JAR checks pass on Solr 9.9 and 10, verified by loading ICU field types through the schema API.
  • npm run docs:build: passes.
  • OpenCode cleanup review: completed; no changes requested.
  • Cursor Bugbot review: completed; no bugs found.

Usage

services:
  solr:
    type: solr:9.8
    modules:
      - analysis-extras
    plugins: ./solr/plugins

Both options are optional. Run lando rebuild after changing options or JARs. JAR compatibility and dependencies remain the user's responsibility; no automatic downloads or dependency resolution.


Note

Medium Risk
Changes Solr 9/10 container startup, volumes, and library layout; misconfigured JARs or conflicts can block startup, though validation and tests limit exposure.

Overview
Adds Solr 9/10 Landofile options modules (maps to SOLR_MODULES for image-bundled modules like analysis-extras) and plugins (project-relative directory of third-party JARs). The builder validates both options, mounts the plugin folder read-only, and wires install-plugins.sh into Solr 9/10 startup.

Local plugins are copied into the Solr data home lib before the server starts, with .lando-plugins tracking so restarts refresh or remove managed JARs without clobbering existing libraries; filename conflicts fail startup.

Docs, changelog, and README describe usage; unit tests cover validation and the install script, and Linux CI runs a new Docker integration suite that proves ICU-related types load via modules vs copied JARs.

Reviewed by Cursor Bugbot for commit 372e4cb. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify

netlify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for lando-solr ready!

Name Link
🔨 Latest commit 372e4cb
🔍 Latest deploy log https://app.netlify.com/projects/lando-solr/deploys/6afab0e226b8f0c465bc0264
😎 Deploy Preview https://deploy-preview-84--lando-solr.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 90 (🔴 down 1 from production)
Accessibility: 98 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@AaronFeledy
AaronFeledy merged commit d95be1f into main Nov 16, 2026
24 checks passed
@AaronFeledy
AaronFeledy deleted the feat/solr-addons branch November 16, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add custom plugins like solr-analysis-extras-9.8.1

1 participant