Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

solr_cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solr_cli

Command line client for Apache Solr

  • 0.2
  • PyPI
  • Socket score

Maintainers
1

solr_cli

Command line client for solr

Installation

From source code: ::

python setup.py install

From pypi: ::

pip install solr_cli

Usage

Execute command line tool

::

$ solr_cli (disconnected)$

Connect to a solr instance::

(disconnected)$ connect http://localhost:8983/solr/ (http://localhost:8983/solr/)$

Make a query::

(http://localhost:8983/solr/)$ query :

{ "responseHeader": { "status": 0, "QTime": 1, "params": { "q": ":", "wt": "python" } }, "response": { "start": 0, "numFound": 2961305, "docs": [ {......} ] } }

Make a query using http parameters::

(http://localhost:8983/solr/)$ uri q=:&rows=0 { "responseHeader": { "status": 0, "QTime": 1, "params": { "q": ":", "rows": "0", "wt": "python" } }, "response": { "start": 0, "numFound": 2961474, "docs": [] } }

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc