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')

If you want a good Javascript book, I got a lot out of Secrets of the Javascript Ninja.

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 *