Skip to main content

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": []
    }
}

Metadata

Release files for solr_cli 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solr_cli 0.2
File Size Uploaded Provenance Actions
solr_cli-0.2.tar.gz 3.7 kB Without provenance Details for solr_cli-0.2.tar.gz

Release files / solr_cli-0.2.tar.gz

Download URL solr_cli-0.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2905dbff887097322c9caf949ff8baf2d1a1275be551959304457abfd4a6c8e1
BLAKE2b-256 checksum
How to use checksums
815ec91cb972832447b2d45fa51cceeb20f4f4673b49ba7cf81aa0a099813ae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for solr_cli 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page