Python Shell
Latest commit feb98bb Feb 17, 2017 @relwell relwell committed on GitHub Fix travis CI breakage by pinning versions (#41)
* bump version

* ease ipython, to hopefully fix travis

* run ipython < 5.2.0

* try ipython 5.1

* exactly 5.0.0

* freeze depedencies to last working ones

* force pathlib 2.1.0

* allow for later versions of requests and ipython

* ipython 5.2 is not a happy camper



solrcloudpy is a python library for interacting with SolrCloud. This library aims to take advantage of the following features of Solr:

  • Distributed indexing and searching and transparent failover
  • Full JSON api
  • Centralized index management
  • Near-realtime search

It is compatible with versions 4.6 up to 6.0. The API is meant to be close to pymongo's API, where one can access collections and databases as simple attributes or dictionary keys.

As of 2016, this library is maintained by the Solrcloudpy community. Contributions are welcome.


conn = SolrConnection(["localhost:9983","localhost:8984"], version="6.0.0")

Access an existing collection:{'q':'query1'})

Index documents:

docs = [{"id":"1", "name":"a"},{"id":"2","name":"b"}]

Search documents:{'q':'*:*'})


solrcloudpy comes with a console that can be run simply by typing solrconsole. More information on usage is available at

Documentation and API

Documentation can be found at