New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

solr-zkcli

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solr-zkcli

A node.js implementation of Solr's ZooKeeper CLI zkcli.sh to manage SolrCloud configuration parameters

0.0.1
Source
npm
Version published
Maintainers
1
Created
Source

solr-zkcli

A node.js implementation of Solr's ZooKeeper CLI zkcli.sh to manage SolrCloud configuration parameters

NPM NPM

Installation

npm install solr-zkcli

Then:

var solrZkcli = require('solr-zkcli');

Usage

With promise


var options = {
  zkhost: '127.0.0.1:9983',
  cmd: 'upconfig',
  confname: 'my_new_config',
  confdir: 'server/solr/configsets/basic_configs/conf'
}

solrZkcli( options ).then(function (data) {
  console.log('data = ', data); 
});

//

With callback:


solrZkcli( options, function (err, data) {
  console.log('data = ', data);
});

Keywords

solr

FAQs

Package last updated on 08 Jan 2016

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