lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] Resolved: (SOLR-1511) Problems in feeding XPathEntityProcessor with FieldReaderDataSource
Date Wed, 14 Oct 2009 19:54:31 GMT


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:
>             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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message