Command line client for Apache Solr
Project description
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": [] } }
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_cli-0.2.tar.gz
(3.7 kB
view details)
File details
Details for the file solr_cli-0.2.tar.gz
.
File metadata
- Download URL: solr_cli-0.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2905dbff887097322c9caf949ff8baf2d1a1275be551959304457abfd4a6c8e1 |
|
MD5 | f64d33a9544562ba44a706994cf7a939 |
|
BLAKE2b-256 | 815ec91cb972832447b2d45fa51cceeb20f4f4673b49ba7cf81aa0a099813ae2 |