Skip to main content

Python client for Solr

Project description

solr-dsl

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

Example

from pysolr import Solr
from solr_dsl import 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.

Source Distribution

solr-dsl-0.0.10.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

solr_dsl-0.0.10-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page