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. Supports Python 2 and 3.

Example

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.

Source Distribution

solr-dsl-0.0.15.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solr_dsl-0.0.15-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file solr-dsl-0.0.15.tar.gz.

File metadata

  • Download URL: solr-dsl-0.0.15.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for solr-dsl-0.0.15.tar.gz
Algorithm Hash digest
SHA256 68cde96c30075344ae7f375052d202c5e5817040514223420328e24628db88cc
MD5 3fdd30b2aec2538fafbc9b16f65ed588
BLAKE2b-256 6c96f1b2013bd49ad998a7228f0971d195c60cad4acee5ac4a6f2d10768942fb

See more details on using hashes here.

File details

Details for the file solr_dsl-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: solr_dsl-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for solr_dsl-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 d47f15a6e098fca3b22deb7df8a2a138378247d5d34def300ee7200d2d749d8d
MD5 8ae98b44fbd440fb14b323ff1167fb53
BLAKE2b-256 d3da7629dfc2b828c579211c2e7571aff858f596cc29c870fa4646ae78ca3283

See more details on using hashes here.

Supported by

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