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 2012/04/21 02:13:34 UTC

[jira] [Updated] (SOLR-2857) Multi-content-type /update handler

     [ https://issues.apache.org/jira/browse/SOLR-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley updated SOLR-2857:
--------------------------------

    Attachment: SOLR-2857-update-content-type.patch

Here is a patch that moves XML,CSV,JSON,javabin and XML+XSLT into a single handler that picks the right Loader based on the content type.

The bulk of the patch is cleaning up the test config files and moving private inner classes to their own file.

The single endpoint simplifies the oddities of multiple request formats in SolrServers

This handles XSLT by looking for the 'tr' param when the content type is XML




                
> Multi-content-type /update handler
> ----------------------------------
>
>                 Key: SOLR-2857
>                 URL: https://issues.apache.org/jira/browse/SOLR-2857
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Erik Hatcher
>             Fix For: 4.0
>
>         Attachments: SOLR-2857-update-content-type.patch
>
>
> Something I've been thinking about lately... it'd be great to get rid of all the specific update handlers like /update/csv, /update/extract, and /update/json and collapse them all into a single /update that underneath uses the content-type(s) to hand off to specific content handlers.  This would make it much easier to toss content at Solr and provide a single entry point for updates.

--
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