testcontainers / testcontainers/testcontainers-python
New Container: Solr
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 386
- Avg merge
- 4h 40m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Java SolrContainer implementation linked in the issue and the Apache Solr Docker deployment references. Compare the existing Python container modules with the requested setup and wait strategy. Done means Solr support is available for Python tests using Pysolr with minimal setup, matching the stated Java support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- databases, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100