Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-695

Support indentation in JSON/XML response writers

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Response Writer
    • None

      When debugging through Solr Admin, there is no line wrapping so you need either a 42K ultra wide monitor or to scroll indefinitely to the right of the screen.

      To help with debugging, it would be nice to support the "indent" parameter for both "mbjson" and "mbxml" outputs.

          [SEARCH-695] Support indentation in JSON/XML response writers

          yvanzo added a comment -

          Entered as a task as it doesn’t improve anything to end-users, indentation is mainly for debugging purpose.

          It has to be implemented for both MBJSONWriter and MBXMLWriter classes.
          See https://solr.apache.org/guide/solr/9_0/query-guide/response-writers.html (not available for Solr 7.7).

           

          yvanzo added a comment - Entered as a task as it doesn’t improve anything to end-users, indentation is mainly for debugging purpose. It has to be implemented for both MBJSONWriter and MBXMLWriter classes. See https://solr.apache.org/guide/solr/9_0/query-guide/response-writers.html (not available for Solr 7.7).  

            Unassigned Unassigned
            yvanzo yvanzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package