This is a minimal and reusable Apache Solr boilerplate setup running in Standalone Mode, designed for quick development and prototyping. It includes:
- Solr Standalone Server
- Basic Authentication Plugin
- Suggestion Handler Configuration
- Dockerized for easy spin-up and teardown
- Preconfigured
solrconfig.xmlwith/suggesthandler - Basic Authentication enabled via security.json
- Docker-based setup (single-node standalone Solr)
- Ready-to-index custom cores and schema
- Minimal setup for future customization
git clone https://github.com/muthu-kumar-u/apache-solr-boilerplate-standalone.git
cd apache-solr-boilerplate-standaloneStart Solr with Docker Compose:
docker-compose up -dusername = test-user
password = Test@123
You can modify this in the security.json file under security.
This boilerplate includes an entrypoint script that automatically creates Solr cores based on environment variables defined in a .env file.
SOLR_CORES=products,articles,blog-search