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.13.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for solr_dsl-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f662d0e69455b77ac85f1681a665ddb4dc2d564fae110b70a6dcd6e76d1dc3c4 |
|
MD5 | 9d4412cba85bd83566a809c673f95518 |
|
BLAKE2b-256 | 598e4854e4c5860d81215dca817f157f0124c1201dffb10cee0b05731337fda7 |