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

/admin/luke?show=schema is returning raw toString of SchemaField and CopyField objects for "copyDests" and "copySources"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0, 6.0
    • Admin UI
    • None

    Description

      While looking into SOLR-3734 i noticed that the LukeRequestHandler is blindly putting arrays of CopyField and SchemaField objects in the response, when returning copy from/to info, which are then getting written out using their toString.

      steffkes seems to have done a great job of parsing the field name out of the SchemaField.toString, but the CopyField.toString info is useless – and clients shouldn't have to do special string parsing to pull out this info.

      I think we should just fix both of these arrays to just be the simple string values that they were most likely intended to be

      Attachments

        1. SOLR-3795.patch
          4 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: