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

Yonik Seeley commented on SOLR-3387:
------------------------------------

bq. Any red flags?

What about stream.body?  And how does this play with multi-part uploads?

It would also be nice to be able to leave off the "-H 
'Content-type:application/json'" stuff when we do curl examples... but curl
defaults to form encoded.  I wonder if we could do some sort of auto-detect in 
the case of form-encoded... starting with "<" would be XML,
starting with "["or"{" would be JSON.
                
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to