Solr
  1. Solr
  2. SOLR-811

allow user to specify the deltaImportQuery instead of DIH building it

    Details

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

      Description

      currently DIH constructs the query for delta-import by mixing the query and pk and delta row ids

      This leads to creation of wrong queries if SqlEntityProcessor cannot parse the query properly.

      solution add a new attribute 'deltaImportQuery' attribute which can use dataimporter.delta.<pkfield-name> in the template and construct a full query

      If this is absent it will continue to work the old way

        Activity

        Hide
        Noble Paul added a comment -

        new attribute added for SqlEntityProcessor

        Show
        Noble Paul added a comment - new attribute added for SqlEntityProcessor
        Hide
        Shalin Shekhar Mangar added a comment -

        Committed revision 706588.

        Thanks Noble!

        We need to document this on the wiki now.

        Show
        Shalin Shekhar Mangar added a comment - Committed revision 706588. Thanks Noble! We need to document this on the wiki now.
        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development