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

persisting solr.xml preserves extraneous values like "wt=json" in <core> tags when creating cores via the admin handler

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4, 6.0
    • Fix Version/s: 4.4, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      I'll be soooo happy when we stop supporting persistence.

      Two problems
      1> if instanceDir is not specified on the create, it's not persisted. And subsequent starts of Solr will fail.
      2> extraneous params are specified, made worse by SolrJ adding some stuff on the create request like wt=javabin etc.

        Attachments

        1. SOLR-4935.patch
          2 kB
          Erick Erickson
        2. SOLR-4935.patch
          4 kB
          Erick Erickson
        3. SOLR-4935.patch
          12 kB
          Erick Erickson
        4. SOLR-4935-test-fix.patch
          1 kB
          Erick Erickson
        5. SOLR-4935-test-fix2.patch
          0.8 kB
          Erick Erickson

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              erickerickson Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: