Solr
  1. Solr
  2. SOLR-1922

DocBuilder onImportError/Abort EventListener

    Details

      Description

      The onImportEnd EventListener only fires off after a successful import.

      It would be useful to know when an import fails via an onImportError/Abort EventListener.

      1. SOLR-1922.patch
        2 kB
        Robert Zotter

        Activity

        Robert Zotter created issue -
        Robert Zotter made changes -
        Field Original Value New Value
        Affects Version/s 1.4 [ 12313351 ]
        Robert Zotter made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Hide
        Robert Zotter added a comment -

        Added "onRollback" event.

        <document onRollback="my.company.handler.dataimport.RollbackEventListener">
        ...
        </document>

        Show
        Robert Zotter added a comment - Added "onRollback" event. <document onRollback="my.company.handler.dataimport.RollbackEventListener"> ... </document>
        Robert Zotter made changes -
        Attachment SOLR-1922.patch [ 12445226 ]
        Robert Zotter made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Hoss Man added a comment -

        not sure why this has been marked fixed ... that status is used once patches have been applied (and closed it generally reserved for when a public release includes the feature/fix)

        Show
        Hoss Man added a comment - not sure why this has been marked fixed ... that status is used once patches have been applied (and closed it generally reserved for when a public release includes the feature/fix)
        Hoss Man made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Hide
        Robert Zotter added a comment -

        Sorry about that Hoss, I'm not entirely familiar with the correct protocol when supplying fixes/patches.

        Show
        Robert Zotter added a comment - Sorry about that Hoss, I'm not entirely familiar with the correct protocol when supplying fixes/patches.
        Robert Zotter made changes -
        Affects Version/s 3.1 [ 12314371 ]
        Affects Version/s 4.0 [ 12314992 ]
        Robert Zotter made changes -
        Affects Version/s 3.1.1 [ 12316257 ]
        Mark Miller made changes -
        Fix Version/s 3.2 [ 12316172 ]
        Fix Version/s 4.0 [ 12314992 ]
        Affects Version/s 4.0 [ 12314992 ]
        Affects Version/s 3.1.1 [ 12316257 ]
        Hide
        Robert Muir added a comment -

        Bulk move 3.2 -> 3.3

        Show
        Robert Muir added a comment - Bulk move 3.2 -> 3.3
        Robert Muir made changes -
        Fix Version/s 3.3 [ 12316471 ]
        Fix Version/s 4.0 [ 12314992 ]
        Fix Version/s 3.2 [ 12316172 ]
        Robert Muir made changes -
        Fix Version/s 3.4 [ 12316683 ]
        Fix Version/s 4.0 [ 12314992 ]
        Fix Version/s 3.3 [ 12316471 ]
        Hide
        Robert Muir added a comment -

        3.4 -> 3.5

        Show
        Robert Muir added a comment - 3.4 -> 3.5
        Robert Muir made changes -
        Fix Version/s 3.5 [ 12317876 ]
        Fix Version/s 3.4 [ 12316683 ]
        Simon Willnauer made changes -
        Fix Version/s 3.6 [ 12319065 ]
        Fix Version/s 3.5 [ 12317876 ]
        Hide
        Hoss Man added a comment -

        Bulk of fixVersion=3.6 -> fixVersion=4.0 for issues that have no assignee and have not been updated recently.

        email notification suppressed to prevent mass-spam
        psuedo-unique token identifying these issues: hoss20120321nofix36

        Show
        Hoss Man added a comment - Bulk of fixVersion=3.6 -> fixVersion=4.0 for issues that have no assignee and have not been updated recently. email notification suppressed to prevent mass-spam psuedo-unique token identifying these issues: hoss20120321nofix36
        Hoss Man made changes -
        Fix Version/s 3.6 [ 12319065 ]
        Robert Muir made changes -
        Fix Version/s 4.1 [ 12321141 ]
        Fix Version/s 4.0 [ 12314992 ]
        Mark Miller made changes -
        Fix Version/s 4.2 [ 12323893 ]
        Fix Version/s 5.0 [ 12321664 ]
        Fix Version/s 4.1 [ 12321141 ]
        Robert Muir made changes -
        Fix Version/s 4.3 [ 12324128 ]
        Fix Version/s 5.0 [ 12321664 ]
        Fix Version/s 4.2 [ 12323893 ]
        Uwe Schindler made changes -
        Fix Version/s 4.4 [ 12324324 ]
        Fix Version/s 4.3 [ 12324128 ]
        Hide
        Steve Rowe added a comment -

        Bulk move 4.4 issues to 4.5 and 5.0

        Show
        Steve Rowe added a comment - Bulk move 4.4 issues to 4.5 and 5.0
        Steve Rowe made changes -
        Fix Version/s 5.0 [ 12321664 ]
        Fix Version/s 4.5 [ 12324743 ]
        Fix Version/s 4.4 [ 12324324 ]
        Adrien Grand made changes -
        Fix Version/s 4.6 [ 12325000 ]
        Fix Version/s 5.0 [ 12321664 ]
        Fix Version/s 4.5 [ 12324743 ]
        Uwe Schindler made changes -
        Fix Version/s 4.7 [ 12325573 ]
        Fix Version/s 4.6 [ 12325000 ]
        David Smiley made changes -
        Fix Version/s 4.8 [ 12326254 ]
        Fix Version/s 4.7 [ 12325573 ]
        Hide
        Uwe Schindler added a comment -

        Move issue to Solr 4.9.

        Show
        Uwe Schindler added a comment - Move issue to Solr 4.9.
        Uwe Schindler made changes -
        Fix Version/s 4.9 [ 12326731 ]
        Fix Version/s 5.0 [ 12321664 ]
        Fix Version/s 4.8 [ 12326254 ]
        Hide
        Brian Panulla added a comment -

        I actually misunderstood the meaning of onError in the data-config schema, thinking it was exactly this. I wrote an EventListener and tried to link it in was disappointed. This would be nice to have.

        Show
        Brian Panulla added a comment - I actually misunderstood the meaning of onError in the data-config schema, thinking it was exactly this. I wrote an EventListener and tried to link it in was disappointed. This would be nice to have.
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        7h 36m 1 Robert Zotter 22/May/10 00:10
        Closed Closed Reopened Reopened
        3h 58m 1 Hoss Man 22/May/10 04:09

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Zotter
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development