Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5853

Solr Connector builder url null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 13.0, 12.2.2, 12.3.2
    • 12.3.1
    • Connector API
    • None
    • DV Sprint 55
    • 1
    • Hide

      diff --git a/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java b/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java
      index e59a80b304..449b2213b1 100644
      — a/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java
      +++ b/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java
      @@ -65,7 +65,7 @@ public class SolrConnectionImpl extends BasicConnection implements SolrConnectio
      params.set(HttpClientUtil.PROP_BASIC_AUTH_PASS, password);
      }
      url = url + config.getCoreName();

      • this.server = new Builder().withInvariantParams(params).build();
        + this.server = new Builder(url).withInvariantParams(params).build();

      if (config.getSoTimeout() != null) {
      this.server.setSoTimeout(config.getSoTimeout());

      Show
      diff --git a/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java b/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java index e59a80b304..449b2213b1 100644 — a/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java +++ b/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java @@ -65,7 +65,7 @@ public class SolrConnectionImpl extends BasicConnection implements SolrConnectio params.set(HttpClientUtil.PROP_BASIC_AUTH_PASS, password); } url = url + config.getCoreName(); this.server = new Builder().withInvariantParams(params).build(); + this.server = new Builder(url).withInvariantParams(params).build(); if (config.getSoTimeout() != null) { this.server.setSoTimeout(config.getSoTimeout());

      Solr JCA connector does not pass the configured url

            rhn-engineering-shawkins Steven Hawkins
            germantejero666 german tejero (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: