We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d196e36 commit 0c70ffbCopy full SHA for 0c70ffb
jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/communication/SolrDocumentConfiguration.java
@@ -59,8 +59,8 @@ public SolrDocumentManagerFactory apply(Settings settings) throws NullPointerExc
59
60
boolean automaticCommit = settings.getOrDefault(SolrDocumentConfigurations.AUTOMATIC_COMMIT, true);
61
62
- final Http2SolrClient solrClient = new Http2SolrClient.Builder(host).build();
63
- solrClient.setParser(new XMLResponseParser());
+ final Http2SolrClient solrClient = new Http2SolrClient.Builder(host)
+ .withResponseParser(new XMLResponseParser()).build();
64
return new SolrDocumentManagerFactory(solrClient, automaticCommit);
65
66
}
0 commit comments