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
Release history Release notifications | RSS feed
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.14.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for solr_dsl-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4426ba4e0bcffce7809b357e3396606c32f93e6aed5af8250df5ca54a0112d5c |
|
MD5 | 52ab8694fd6ace3a74c0790382d0a8ca |
|
BLAKE2b-256 | 00ba78b634de11f44532bfb31982deffc77c97c88d458a2ea785c240887f9981 |