You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gian Marco Tagliani (JIRA)" <ji...@apache.org> on 2012/09/26 11:48:07 UTC

[jira] [Created] (SOLR-3896) DIH: parentDeltaQuery fail updating the parent entity

Gian Marco Tagliani created SOLR-3896:
-----------------------------------------

             Summary: DIH: parentDeltaQuery fail updating the parent entity
                 Key: SOLR-3896
                 URL: https://issues.apache.org/jira/browse/SOLR-3896
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
    Affects Versions: 3.6.1
            Reporter: Gian Marco Tagliani


In the delta-import the parentDeltaQuery is suppose to update the parent entity.
I don't think this is working properly.

I realized that it's just executing the parentDeltaQuery with the first record of the deltaQuery result.

This means that if the deltaQuery returns a set of ID to update, just the first will be used in the parentDeltaQuery. 
As result of it just a few parent entity will be update correctly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3896) DIH: parentDeltaQuery fail updating the parent entity

Posted by "Gian Marco Tagliani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gian Marco Tagliani updated SOLR-3896:
--------------------------------------

    Attachment: SOLR-3896.patch

Patch for Solr 3.6.1
                
> DIH: parentDeltaQuery fail updating the parent entity
> -----------------------------------------------------
>
>                 Key: SOLR-3896
>                 URL: https://issues.apache.org/jira/browse/SOLR-3896
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 3.6.1
>            Reporter: Gian Marco Tagliani
>         Attachments: SOLR-3896.patch
>
>
> In the delta-import the parentDeltaQuery is suppose to update the parent entity.
> I don't think this is working properly.
> I realized that it's just executing the parentDeltaQuery with the first record of the deltaQuery result.
> This means that if the deltaQuery returns a set of ID to update, just the first will be used in the parentDeltaQuery. 
> As result of it just a few parent entity will be update correctly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org