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.12.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for solr_dsl-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15cec87528521b1c4996c4bf6145786d041da0ff6be2702bf3037616f10b0560 |
|
MD5 | b8eacae2fd4002cbf8ad48c7e566c6d6 |
|
BLAKE2b-256 | 4bc96b4d51edc318ed70614b5467505302ffab141bdc8f259dc22b994e015023 |