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

Allow DocTransformers to write directly to the response (support raw json/xml fields)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • None
    • None

    Description

      In order to return raw json when wt=json (and raw xml when wt=xml), it would be great if we could output directly to the response.

      I propose we can put a new `WriteableValue` in the response using DocumentTransformer – when a TextResponseWriter finds this type, it will let the `WriteableValue` figure out what to do.

      Attachments

        Issue Links

          Activity

            People

              ryantxu Ryan McKinley
              ryantxu Ryan McKinley
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: