[
https://issues.apache.org/jira/browse/SOLR-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653452#action_12653452
]
Shalin Shekhar Mangar commented on SOLR-893:
--------------------------------------------
Thanks for the patch Dan.
{code}
if(modifiedRow.get(entity.pk) == row.get(entity.pk)){
{code}
Wouldn't this need an equals check?
> 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
> Assignee: Shalin Shekhar Mangar
> 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.