Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5266

HttpSolrServer: baseURL set by constructor and setter has not the same result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.4
    • 6.0
    • clients - java
    • None

    Description

      There is an unexpected difference between setting the base URL by the constructor
      solrCore = new HttpSolrServer("http://localhost:8983/solr/");
      and by the setter
      solrCore.setBaseURL("http://localhost:8983/solr/");

      In the constructor, additional checks are performed such as removing the trailing slash.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stieler.it Michael Stieler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified