Read http://wiki.apache.org/solr/DataImportHandler for better method. The FileListEntityProcessor is what you are looking for.
-- View this message in context: http://lucene.472066.n3.nabble.com/indexing-data-on-solr-tp3717111p3717208.html Sent from the Solr - User mailing list archive at Nabble.com.