You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Raheel Hasan <ra...@gmail.com> on 2013/09/10 15:57:18 UTC

URLDataSource & PlainTextEntityProcessor not working

Hi,

I am trying to load data (as plaint text) from a URL. For this I am
using URLDataSource & PlainTextEntityProcesso. However, I have the
following not working. I checked access logs of my web server, the url is
not even getting called:


<dataConfig>

  <dataSource type="JdbcDataSource"
  driver="com.mysql.jdbc.Driver"
  url="jdbc:mysql://localhost/db_1"
  user="root"
  password=""
  autoCommit="true"
  name="mysql_ds"
  />

  <dataSource type="URLDataSource"
  name="url_ds"
  />

  <document>


        <entity name="f1_documents" dataSource="url_ds"
processor="PlainTextEntityProcessor"
        url="http://localhost/update_1/test.txt">
  <field column="plainText" name="text" />
 </entity>


Can anyone tell me whats the issue here?


-- 
Regards,
Raheel Hasan