Re: RSS tutorial that comes with the apache-solr not indexing
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.
Re: RSS tutorial that comes with the apache-solr not indexing
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; processor=XPathEntityProcessor forEach=/rss/channel/item transformer=DateFormatTransformer field column=title xpath=/rss/channel/item/title / field column=link xpath=/rss/channel/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-tp4033067p4033254.html Sent from the Solr - User mailing list archive at Nabble.com.
RSS tutorial that comes with the apache-solr not indexing
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 -Dsolr.solr.home=./example-DIH/solr/ -jar start.jar 3) Goto url: http://192.168.1.12:8983/solr/rss/dataimport?command=full-import 4) When I do this it says: Indexing completed. Added/Updated: 0 documents. Deleted 0 documents. Now I know that the default example is getting the RSS from: http://rss.slashdot.org/Slashdot/slashdot This default example is empty when I view it in chrome. It does have XML data in the source but I am not sure if this has anything to do with the import failure. I also modified the rss-config so that I can test other RSS sources. I used http://www.feedforall.com/sample.xml and updated the rss-config.xml but this did the same and did not Add/Update any documents. Any help is appreciated. -- View this message in context: http://lucene.472066.n3.nabble.com/RSS-tutorial-that-comes-with-the-apache-solr-not-indexing-tp4033067.html Sent from the Solr - User mailing list archive at Nabble.com.