solr-node-client configuration

If you need to override URL creation values in the Solr Node client, you can pass arguments to createClient1:

const solr = require('solr-client');
const client = solr.createClient('localhost', 8983, 'talks', '/solr')

Interested in JavaScript? I send out weekly, personalized emails with articles and conference talks. Click here to see an example and subscribe.

Citations:
  1. https://github.com/lbdremy/solr-node-client/blob/master/lib/solr.js []
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *