[jira] Created: (SOLR-1554) Passing a callback url to DIH

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (SOLR-1554) Passing a callback url to DIH

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Passing a callback url to DIH
-----------------------------

                 Key: SOLR-1554
                 URL: https://issues.apache.org/jira/browse/SOLR-1554
             Project: Solr
          Issue Type: New Feature
          Components: contrib - DataImportHandler
    Affects Versions: 1.5, 1.6, 2.0
            Reporter: Sascha Szott
            Priority: Minor


To provide an easy way to check if an DIH import process is completed (i.e., without having to implement a custom Solr EventListener), it should be possible to pass a callback url along a URL to a DIH request handler.

Ideally, the callback should somehow indicate the import operation's result (successful / not successful). This would obviate an additional call of the request handler to get the import operation's result and statistics, respectively.

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


[jira] Updated: (SOLR-1554) Passing a callback url to DIH

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Noble Paul updated SOLR-1554:
-----------------------------

    Attachment: SOLR-1554.patch

how to use.
{code:xml}
<document onImportEnd="UrlCallbackListener" callbackUrl="http://somehost/uri">

</document>
{code}
the callbackUrl attribute can be templatized

> Passing a callback url to DIH
> -----------------------------
>
>                 Key: SOLR-1554
>                 URL: https://issues.apache.org/jira/browse/SOLR-1554
>             Project: Solr
>          Issue Type: New Feature
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.5, 1.6, 2.0
>            Reporter: Sascha Szott
>            Priority: Minor
>         Attachments: SOLR-1554.patch
>
>
> To provide an easy way to check if an DIH import process is completed (i.e., without having to implement a custom Solr EventListener), it should be possible to pass a callback url along a URL to a DIH request handler.
> Ideally, the callback should somehow indicate the import operation's result (successful / not successful). This would obviate an additional call of the request handler to get the import operation's result and statistics, respectively.

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