lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3387) UpdateRequestHandler should support XML,CSV,JSON, and javabin
Date Fri, 20 Apr 2012 18:04:41 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258430#comment-13258430
] 

Ryan McKinley commented on SOLR-3387:
-------------------------------------

bq. What about stream.body?

stream.body is used to create the ContentStream -- so it does not change anything

bq. And how does this play with multi-part uploads?

The one difference is that this would let you have different content types in each part --
not really a feature, but worth noting.

bq. I wonder if we could do some sort of auto-detect

I'll poke -- getStream().mark()/reset() can probably work for XML/JSON but it may break things
for javabin

                
> UpdateRequestHandler should support XML,CSV,JSON, and javabin
> -------------------------------------------------------------
>
>                 Key: SOLR-3387
>                 URL: https://issues.apache.org/jira/browse/SOLR-3387
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>             Fix For: 4.0
>
>
> Rather then have 4 handlers to support 4 content types, we should use a single endpoint
and pick the ContentStreamLoader based on the ContentType
> This will simplify configuration problems for clients that want to swtich format (see
SOLR-3038)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message