testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

New Container: Solr

Open adamjq opened this issue 4 months ago • 1 comments

What is the new container you'd like to have?

Apache Solr

  • https://hub.docker.com/_/solr
  • https://solr.apache.org/guide/solr/latest/deployment-guide/solr-in-docker.html

Why not just use a generic container for this?

Similar to OpenSearch and Elasticsearch, there's a somewhat complicated setup and wait strategy that needs to be used. This is handled already in the Java implementation.

Other references:

Solr is already supported in the Java testcontainers library: https://java.testcontainers.org/modules/solr/

This enhancement would bring the same support to Python, allowing tests to be written with Pysolr and Testcontainers with minimal setup.

adamjq avatar Aug 06 '25 23:08 adamjq

I'd be happy to have a go at contributing this myself

adamjq avatar Aug 06 '25 23:08 adamjq