Skip to main content

Python client for Solr

Project description


A high-level library for querying Solr with Python. Built on the lower-level Pysolr. Supports Python 2 and 3.


from pysolr import Solr
from solr_dsl import Field, Range, Search

solr = Solr('http://localhost:8983/solr/test')

query = (Field('doc_type', 'solution') &
         Range("date", '2018-01-01T00:00:00Z', 'now'))
search = Search(solr, query)

for document in search.scan():

Project details

Download files

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

Files for solr-dsl, version 0.0.15
Filename, size File type Python version Upload date Hashes
Filename, size solr_dsl-0.0.15-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size solr-dsl-0.0.15.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page