You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Mach (JIRA)" <ji...@apache.org> on 2014/03/04 23:07:46 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13920101#comment-13920101 ] 

Jan Mach commented on SOLR-4875:
--------------------------------

Probably there is a relation with issue reported by me: https://issues.apache.org/jira/browse/SOLR-5809

> 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
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 4.7
>
>         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 was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org