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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              ryantxu Ryan McKinley
              Reporter:
              ryantxu Ryan McKinley

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment