I haven't tried it, but you might be able to use either (and this is just me thinking aloud): DataImportHandler with the FileEntityProcessor Remote Streaming - (you might have to write out Solr XML or do something else)
-Grant On Jan 5, 2010, at 4:05 AM, Mark N wrote: > SolrInputDocument doc1 = new SolrInputDocument(); > doc1.addField( "Fulltext", strContent); > > strContent is a string variable which contains contents of text file. > ( assume that text file is located in c:\files\abc.txt ) > > In my case abc.text ( text files ) could be very huge ~ 2 GB so it is not > always possible to read and store them into string variables > before indexing . Can anyone suggest what should be better approach to index > these huge text files ? > > > > -- > Nipen Mark -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem using Solr/Lucene: http://www.lucidimagination.com/search