You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2013/06/06 16:19:21 UTC
[jira] [Comment Edited] (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=13677053#comment-13677053 ]
Noble Paul edited comment on SOLR-4875 at 6/6/13 2:18 PM:
----------------------------------------------------------
This is a bit difficult because one condition is a subset of the other. I really don't see an easy way to fix this without introducing a lot of changes to XPathRecordReader
was (Author: noble.paul):
This is a bit difficult because one condition is a subset of the other. I really don't see an easy way to fix this.
> 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.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