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 <hadyelsa...@gmail.com> wrote: > i have a large Arabic Text File that contains Tweets each line contains one > tweet , that i want to index in solr such that each line of this document > should be indexed in a separate solr document > > what i tried so far : > > i know how to SQL databse records in solr > i know how to change solr schema to fit the data and working with Data > import handler > i know how the queries used to index data in solr > what i want is : > > know how to index text file in solr in order that each line is considered a > solr document > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/indexing-Text-file-in-solr-tp4036496.html > Sent from the Solr - User mailing list archive at Nabble.com. -- edge