Hi bibhor,
I looked at <http://rss.slashdot.org/Slashdot/slashdot> and
<http://www.feedforall.com/sample.xml>, and their top-level structure is:
<rss>
<channel>
...
This doesn't match your <entity ... forEach="/RDF/channel" ... > or your <field
column="..." xpath="/RDF/item/..." />
Steve
On Jan 14, 2013, at 1:02 PM, bibhor <[email protected]> wrote:
> Hi,
> I did try another RSS from here "http://www.feedforall.com/sample.xml" but
> it also didnt work and came back with same message saying it indexed 0
> documents.
>
> This is my data from rss-data-config.xml
>
> <dataConfig>
> <dataSource type="URLDataSource" />
> <document>
> <entity name="rsstest"
> pk="link"
> url="http://www.feedforall.com/sample.xml"
> processor="XPathEntityProcessor"
> forEach="/RDF/channel | /RDF/item"
> transformer="DateFormatTransformer">
>
> <field column="title" xpath="/RDF/item/title" />
> <field column="link" xpath="/RDF/item/link" />
> </entity>
> </document>
> </dataConfig>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/RSS-tutorial-that-comes-with-the-apache-solr-not-indexing-tp4033067p4033230.html
> Sent from the Solr - User mailing list archive at Nabble.com.