lucene-solr-dev mailing list archives

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

     [ 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.


Mime
View raw message