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 "Noble Paul (JIRA)" <ji...@apache.org> on 2008/10/16 11:06:44 UTC
[jira] Created: (SOLR-811) allow user to specify the
deltaImportQuery instead of DIH building it
allow user to specify the deltaImportQuery instead of DIH building it
---------------------------------------------------------------------
Key: SOLR-811
URL: https://issues.apache.org/jira/browse/SOLR-811
Project: Solr
Issue Type: Improvement
Components: contrib - DataImportHandler
Affects Versions: 1.3
Reporter: Noble Paul
Fix For: 1.4
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-811) allow user to specify the
deltaImportQuery instead of DIH building it
Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-811:
----------------------------
Attachment: SOLR-811.patch
new attribute added for SqlEntityProcessor
> allow user to specify the deltaImportQuery instead of DIH building it
> ---------------------------------------------------------------------
>
> Key: SOLR-811
> URL: https://issues.apache.org/jira/browse/SOLR-811
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 1.3
> Reporter: Noble Paul
> Fix For: 1.4
>
> Attachments: SOLR-811.patch
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SOLR-811) allow user to specify the
deltaImportQuery instead of DIH building it
Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar reassigned SOLR-811:
------------------------------------------
Assignee: Shalin Shekhar Mangar
> allow user to specify the deltaImportQuery instead of DIH building it
> ---------------------------------------------------------------------
>
> Key: SOLR-811
> URL: https://issues.apache.org/jira/browse/SOLR-811
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 1.3
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Fix For: 1.4
>
> Attachments: SOLR-811.patch
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SOLR-811) allow user to specify the
deltaImportQuery instead of DIH building it
Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-811.
----------------------------------------
Resolution: Fixed
Committed revision 706588.
Thanks Noble!
We need to document this on the wiki now.
> allow user to specify the deltaImportQuery instead of DIH building it
> ---------------------------------------------------------------------
>
> Key: SOLR-811
> URL: https://issues.apache.org/jira/browse/SOLR-811
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 1.3
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Fix For: 1.4
>
> Attachments: SOLR-811.patch
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.