You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/08/29 19:47:00 UTC

[jira] [Resolved] (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 ]

Alexandre Rafalovitch resolved SOLR-4875.
-----------------------------------------
    Resolution: Won't Fix

> 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: 6.0, 4.9
>
>         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
(v8.3.4#803005)

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