Skip to content

Apache Solr Standalone Boilerplate with Docker, Basic Auth, and Suggest Handler Support — Ready for rapid prototyping and custom indexing.

Notifications You must be signed in to change notification settings

muthu-kumar-u/apache-solr-boilerplate-standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Solr Boilerplate (Standalone Mode)

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

Features

  • Preconfigured solrconfig.xml with /suggest handler
  • 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

Getting Started

1. Clone the Repo

git clone https://github.com/muthu-kumar-u/apache-solr-boilerplate-standalone.git
cd apache-solr-boilerplate-standalone

Run

Start Solr with Docker Compose:

docker-compose up -d

Default Basic Auth Credentials

username = test-user
password = Test@123

You can modify this in the security.json file under security.

Dynamic Core Creation via .env (rename the .env.sample file as .env)

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

About

Apache Solr Standalone Boilerplate with Docker, Basic Auth, and Suggest Handler Support — Ready for rapid prototyping and custom indexing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published