You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2013/05/29 18:02:23 UTC

[jira] [Updated] (SOLR-4875) DIH XPathRecordReader cannot handle two ways to read same attribute together

     [ https://issues.apache.org/jira/browse/SOLR-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-4875:
----------------------------------------

    Attachment: SOLR-4875.patch

Test to demonstrate the problem attached.
                
> DIH XPathRecordReader cannot handle two ways to read same attribute together
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-4875
>                 URL: https://issues.apache.org/jira/browse/SOLR-4875
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 4.3
>            Reporter: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 4.4
>
>         Attachments: SOLR-4875.patch
>
>
> From my comment on solr-user mailing list:
> {quote}
> I think there is a bug here. In my tests, xpath="/root/a/@y" works, xpath="/root/a[@x='1']/@y" also works. But if you use them together the one which is defined last returns null. I'll open an issue.
> {quote}
> http://lucene.472066.n3.nabble.com/Problem-with-xpath-expression-in-data-config-xml-td4066744.html

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