SOLR-4563: RSS DIH-example not working

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480993 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jan Høydahl 2013-05-10 12:36:39 +00:00
parent 1ce5ec4b99
commit 3a53c33984
2 changed files with 12 additions and 10 deletions

View File

@ -99,6 +99,8 @@ Bug Fixes
* SOLR-4803: Fixed core discovery mode (ie: new style solr.xml) to treat
'collection1' as the default core name. (hossman)
* SOLR-4563: RSS DIH-example not working (janhoy)
Other Changes
----------------------

View File

@ -5,22 +5,22 @@
pk="link"
url="http://rss.slashdot.org/Slashdot/slashdot"
processor="XPathEntityProcessor"
forEach="/rss/channel | /rss/item"
forEach="/rss/channel/item"
transformer="DateFormatTransformer">
<field column="source" xpath="/rss/channel/title" commonField="true" />
<field column="source-link" xpath="/rss/channel/link" commonField="true" />
<field column="subject" xpath="/rss/channel/subject" commonField="true" />
<field column="title" xpath="/rss/item/title" />
<field column="link" xpath="/rss/item/link" />
<field column="description" xpath="/rss/item/description" />
<field column="creator" xpath="/rss/item/creator" />
<field column="item-subject" xpath="/rss/item/subject" />
<field column="date" xpath="/rss/item/date" dateTimeFormat="yyyy-MM-dd'T'HH:mm:ss" />
<field column="slash-department" xpath="/rss/item/department" />
<field column="slash-section" xpath="/rss/item/section" />
<field column="slash-comments" xpath="/rss/item/comments" />
<field column="title" xpath="/rss/channel/item/title" />
<field column="link" xpath="/rss/channel/item/link" />
<field column="description" xpath="/rss/channel/item/description" />
<field column="creator" xpath="/rss/channel/item/creator" />
<field column="item-subject" xpath="/rss/channel/item/subject" />
<field column="date" xpath="/rss/channel/item/date" dateTimeFormat="yyyy-MM-dd'T'HH:mm:ss" />
<field column="slash-department" xpath="/rss/channel/item/department" />
<field column="slash-section" xpath="/rss/channel/item/section" />
<field column="slash-comments" xpath="/rss/channel/item/comments" />
</entity>
</document>
</dataConfig>