You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Dan Rosher (JIRA)" <ji...@apache.org> on 2008/12/04 11:23:44 UTC

[jira] Issue Comment Edited: (SOLR-893) Unable to delete documents via SQL and deletedPkQuery with deltaimport

    [ https://issues.apache.org/jira/browse/SOLR-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653244#action_12653244 ] 

rosher edited comment on SOLR-893 at 12/4/08 2:23 AM:
----------------------------------------------------------

Thanks Noble ... 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.  

      was (Author: rosher):
    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.