If you're lucky, the file has a format suitable for the CSV update handler
http://wiki.apache.org/solr/UpdateCSV
Note that if your file does not containt unique ID, you can generate those
http://wiki.apache.org/solr/UniqueKey
You can then use CURL or http://wiki.apache.org/solr/post.jar to index
i don't have experience with this but it looks like you could use, from DIH:
http://wiki.apache.org/solr/DataImportHandler#LineEntityProcessor
On Sun, Jan 27, 2013 at 10:23 AM, hadyelsahar wrote:
> i have a large Arabic Text File that contains Tweets each line contains one
> tweet , that i want