Skip to content

solrcloudpy/solrcloudpy

Repository files navigation

solrcloudpy

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

Version 4.x is compatible with all supported versions of SolrCloud. For older versions, you should consider using 3.x, which supports versions 4 through 6. 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.

Usage

Access an existing collection:

Index documents:

Search documents:

Documentation and API

Documentation can be found at http://solrcloudpy.github.io/solrcloudpy/