Solr
  1. Solr
  2. SOLR-676

DataImportHandler should use UpdateRequestProcessor API

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      Refer to Patrick's comment on SOLR-469 at https://issues.apache.org/jira/browse/SOLR-469?focusedCommentId=12604276#action_12604276 and report by Tom at http://www.nabble.com/localsolr-and-dataimport-problems-tp18849983p18849983.html

      DataImportHandler directly uses the core.getUpdateHandler (DirectUpdateHandler2) instead of going through the UpdateRequestProcessor API. This makes it impossible to utilize update processors with DataImportHandler.

      1. SOLR-676.patch
        7 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        Shalin Shekhar Mangar added a comment -

        Patch to make the required changes in DataImportHandler and SolrWriter classes.

        I shall commit this in a day or two.

        Show
        Shalin Shekhar Mangar added a comment - Patch to make the required changes in DataImportHandler and SolrWriter classes. I shall commit this in a day or two.
        Hide
        Shalin Shekhar Mangar added a comment -

        Committed revision 684307.

        Show
        Shalin Shekhar Mangar added a comment - Committed revision 684307.
        Hide
        Noble Paul added a comment -

        I guess it should not use any updateprocessor if update.processor is not passed on as a request parameter

        Show
        Noble Paul added a comment - I guess it should not use any updateprocessor if update.processor is not passed on as a request parameter

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Shalin Shekhar Mangar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development