You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2015/04/10 21:38:12 UTC
[jira] [Commented] (SOLR-7376) Allow DocTransformers to write
directly to the response (support raw json/xml fields)
[ https://issues.apache.org/jira/browse/SOLR-7376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14490226#comment-14490226 ]
Ryan McKinley commented on SOLR-7376:
-------------------------------------
Here is a link to possible changes:
https://github.com/voyagersearch/lucene-solr-for-voyager/commit/d1150c2c4ed5324d6830cfd996e7a595a4fd9fb6
If there are no strong objections, i'll get that into patch form
> Allow DocTransformers to write directly to the response (support raw json/xml fields)
> -------------------------------------------------------------------------------------
>
> Key: SOLR-7376
> URL: https://issues.apache.org/jira/browse/SOLR-7376
> Project: Solr
> Issue Type: New Feature
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org