XPath entity processor problem with empty fields processing.
------------------------------------------------------------
Key: SOLR-1790
URL: https://issues.apache.org/jira/browse/SOLR-1790
Project: Solr
Issue Type: Bug
Components: contrib - DataImportHandler
Affects Versions: 1.4, 1.5
Reporter: Laxman
Fix For: 1.5
Xpath entity processor has following problem with processing the empty fields.
While processing XML containing a field with empty value, its fetching the next
fields value.
When I import the follow record into SOLR by DIH
<add>
<doc>
<field name=keywords></field>
<field name=ContentURL>http://www.sina.com</field>
</doc>
</add>
When I query the record, the return result is not the same as expect:
There is no "ContentURL" field, instead there is a field "keywords" has content
"http://www.sina.com".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.