Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

python library for interacting with SolrCloud

Project Description

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

The API is mean to be close to pymongo’s API, where one can access collections and databases as simple attributes or dictionary keys.

Usage

from solrcloudpy.connection import HTTPConnection
from solrcloudpy.collection import Collection

conn = HTTPConnection(["localhost:9983","localhost:8984"])
collection = Collection(conn)
collection.create('test1',num_shards=1,replication_factor=2)

# Indexing documents
docs = [{"id":"1", "name":"a"},{"id":"2","name":"b"}]
collection.test1.add(docs)

# Searching documents
print collection.test1.search(q='*:*')
Release History

Release History

History Node

2.4.1

History Node

2.4.0

History Node

2.3.0

History Node

2.2.0

History Node

2.1.0

History Node

2.0.1

History Node

2.0.0

History Node

1.8.1

History Node

1.8.0

History Node

1.7.460

History Node

1.6.460

History Node

1.5.460

History Node

1.4.460

History Node

1.3.460

History Node

1.2.460

History Node

1.1.460

History Node

1.0.2

History Node

1.0.1

This version
History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
solrcloudpy-1.0.tar.gz (6.9 kB) Copy SHA256 Checksum SHA256 Source Sep 6, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting