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

Otis Gospodnetic commented on SOLR-1065:
----------------------------------------

{quote}
regular update handler can only handle xml in the standard format. With DIH you 
can post any xml or any other file . Moreover DIH lets you have custom 
transformations to the data.

It is also possible to mix the uploaded data with other DatSources (DB) before 
creating the documents
{quote}

Is there a reason why this can't be added to the core update handler?


> Add a ContentStreamDataSource to DIH to accept post data
> --------------------------------------------------------
>
>                 Key: SOLR-1065
>                 URL: https://issues.apache.org/jira/browse/SOLR-1065
>             Project: Solr
>          Issue Type: New Feature
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1065.patch, SOLR-1065.patch, SOLR-1065.patch
>
>
> It is a common requirement to push data to DIH. Currently it is not possible 
> . If we have a ContentStreamDataSource it can easily solve this problem
> sample configuration
> {code:xml}
> <dataSource type="ContentStreamDataSource"/>
> {code}
> This datasource does not need any extra configuration. Make a normal POST 
> request with the data as the body. The params remain same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to