Hi all,

On the development side of Solr I've been experimenting with creating API
clients in different programming languages.  These might not end up being
as feature-rich as SolrJ (e.g. topology-aware routing, etc.), but the hope
is that they'd give users a solid entry-point for interacting with Solr
from their language of choice.  If things go well, the idea is that these
different clients would be produced for each Solr release, similar to how
things work with SolrJ today.

Right now, my initial target language is Python, and we're actually pretty
close to getting this done for 9.5!  There's a PR in Github that adds a
minimal client (generated from Solr's "OpenAPI" specification). [1] [2].
I've tested it, and it works great for the APIs currently supported.

The only blocker at this point is review from potential users.  I'm only a
sporadic Python user personally, so I'd love feedback from folks more
familiar with the ecosystem who can speak to whether things are structured
naturally for Python, whether the packaging/setuptools usage is correct,
whether urllib3 is a passable HTTP library, etc.

If you're interested in using a Solr Python client, or you're otherwise
interested in lending a hand, we'd appreciate any feedback.

https://github.com/apache/solr/pull/1681

Best,

Jason

[1] https://github.com/apache/solr/pull/1681
[2] https://openapi-generator.tech/

Reply via email to