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 "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2009/10/14 21:54:31 UTC
[jira] Resolved: (SOLR-1511) Problems in feeding
XPathEntityProcessor with FieldReaderDataSource
[ https://issues.apache.org/jira/browse/SOLR-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-1511.
-----------------------------------------
Resolution: Invalid
False alarm.
It seems that calling DataImporter#loadDataConfig does not initialize the sub-entity's fields. In particular the Context#getAllEntityFields returned empty and therefore the xpath for the child entity never got created. All tests should use DataImporter#loadAndInit (which creates DataConfig as well as initializes the entity nodes) instead of DataImporter#loadDataConfig. If we change loadDataConfig to loadAndInit in the test case, it passes.
I'll take a look at the other places where loadDataConfig is being used.
> Problems in feeding XPathEntityProcessor with FieldReaderDataSource
> -------------------------------------------------------------------
>
> Key: SOLR-1511
> URL: https://issues.apache.org/jira/browse/SOLR-1511
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Reporter: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-1511.patch
>
>
> Reported by Lance on solr-user
> http://www.lucidimagination.com/search/document/e6a13b612b969143
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.