Re: RSS tutorial that comes with the apache-solr not indexing

2013-01-14 Thread Lance Norskog
This example may be out of date, if the RSS feeds from Slashdot have changed. If you know XML and XPaths, try this: Find an rss feed from somewhere that works. Compare the xpaths in it v.s. the xpaths in the DIH script. On 01/13/2013 07:38 PM, bibhor wrote: Hi I am trying to use the RSS

Re: RSS tutorial that comes with the apache-solr not indexing

2013-01-14 Thread bibhor
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

Re: RSS tutorial that comes with the apache-solr not indexing

2013-01-14 Thread Steve Rowe
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,

Re: RSS tutorial that comes with the apache-solr not indexing

2013-01-14 Thread bibhor
Hi Steve Thank you for your help. After I updated the rss-data-config to following, it worked. dataConfig dataSource type=URLDataSource / document entity name=rsstest pk=link url=http://www.feedforall.com/sample.xml;

Re: RSS tutorial that comes with the apache-solr not indexing

2013-01-14 Thread Gora Mohanty
On 15 January 2013 00:38, Alexandre Rafalovitch arafa...@gmail.com wrote: Is that something that needs to be updated in the example schema as well then? The example rss-data-config.xml references http://rss.slashdot.org/Slashdot/slashdot which seems to be broken at the moment, at least for me.

Re: RSS tutorial that comes with the apache-solr not indexing

2013-01-14 Thread Steve Rowe
Yes, thanks Alex, I've fixed solr/example/example-DIH/solr/rss/conf/rss-data-config.xml On Jan 14, 2013, at 2:08 PM, Alexandre Rafalovitch arafa...@gmail.com wrote: Is that something that needs to be updated in the example schema as well then? Regards, Alex. Personal blog:

RSS tutorial that comes with the apache-solr not indexing

2013-01-13 Thread bibhor
Hi I am trying to use the RSS tutorial that comes with the apache-solr. I am not sure if I missed anything but when I do full-import no indexing happens. These are the steps that I am taking: 1) Download apache-solr-3.6.2 (http://lucene.apache.org/solr/) 2) Start the solr by doing: java