{"id":5288,"date":"2016-11-23T14:22:16","date_gmt":"2016-11-23T14:22:16","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=5288"},"modified":"2016-11-23T14:22:16","modified_gmt":"2016-11-23T14:22:16","slug":"solr-node-client-configuration","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/solr-node-client-configuration\/","title":{"rendered":"solr-node-client configuration"},"content":{"rendered":"<p>If you need to override URL creation values in the Solr Node client, you can pass arguments to createClient<sup><a href=\"#footnote_0_5288\" id=\"identifier_0_5288\" class=\"footnote-link footnote-identifier-link\" title=\"https:\/\/github.com\/lbdremy\/solr-node-client\/blob\/master\/lib\/solr.js\">1<\/a><\/sup>:<\/p>\n<pre lang=\"javascript\">\nconst solr = require('solr-client');\nconst client = solr.createClient('localhost', 8983, 'talks', '\/solr')\n<\/pre>\n<ol class=\"footnotes\"><li id=\"footnote_0_5288\" class=\"footnote\">https:\/\/github.com\/lbdremy\/solr-node-client\/blob\/master\/lib\/solr.js<span class=\"footnote-back-link-wrapper\"> [<a href=\"#identifier_0_5288\" class=\"footnote-link footnote-back-link\">&#8617;<\/a>]<\/span><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>Configuring the Node client for Solr<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[302,387,517],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5288"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=5288"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5288\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=5288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=5288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=5288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}