Need help with solr-node-client?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

436 Stars 205 Forks MIT License 386 Commits 62 Opened issues


A solr client for node.js.

Services available


Need anything else?

Contributors list

solr-client - a node.js solr client

Gitter NPM


Install the library with:

npm install --save solr-client


Node.js version 6+ is supported. Solr versions 3-8 are supported.


// Load dependency
const solr = require('solr-client');

// Create a client const client = solr.createClient();

// Add a new document client.add({ id : 12, title_t : 'Hello' },function(err,obj){ if (err) { console.log(err); } else { console.log('Solr response:', obj); } });


v0.3.x - v0.x.x

  • Implement all features available in Solr 4 (SolrCloud API in particular)
  • Provide all low-level commands
  • Complete documentation


  • First stable version
  • the API is frozen until v2.0.x, only new features and bug fixes can be introduced


Tests are executed against a Solr instance in a Docker container. In order to execute them on latest supported Solr version, run:

npm run solr:current:start
npm test

If you want to execute them on oldest Solr version supported, run


Test coverage

Before to be able to run the command below, you will need to install jscoverage available here

npm run-script test-cov

This command will generate a file named

, use your browser to visualize it.

Static analysis and complexity report

npm run-script report


(The MIT License)

Copyright 2011-2012 HipSnip Limited

Copyright 2013-2014 Rémy Loubradou

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.