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

Dan Rosher updated SOLR-893:
----------------------------

    Attachment: SOLR-893.patch

Thanks Paul ... I've made that change ... additionally I've noticed that during 
any particular delta import you might have both and update/create AND a delete, 
the current code would not honor the delete hence I've added something to cater 
for this, and updated the test to confirm.  

> Unable to delete documents via SQL and deletedPkQuery with deltaimport
> ----------------------------------------------------------------------
>
>                 Key: SOLR-893
>                 URL: https://issues.apache.org/jira/browse/SOLR-893
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Dan Rosher
>             Fix For: 1.3
>
>         Attachments: SOLR-893.patch, SOLR-893.patch
>
>
> DocBuilder calls entityProcessor.nextModifiedRowKey which sets up rowIterator 
> for the modified rows, but when it comes time to call 
> entityProcessor.nextDeletedRowKey, this is skipped as although no rows are 
> returned from nextModifiedRowKey, rowIterator in SqlEntityProcessor.java is 
> still not null

-- 
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