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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4, 6.0
    • 4.4, 6.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: