Socket
Socket
Sign inDemoInstall

solr-dsl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solr-dsl

Python client for Solr


Maintainers
1

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():
    ...

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc