Thank you for the Reply Yonik, I have already tried with smaller CSV files, currently we are trying to load a CSV file of 400 MB but this is taking too much time(more than half an hour). I want to know is there any method to do it much faster, we have overcome the OutOfMemoryException by increasing heap space.
Please suggest. Yonik Seeley-2 wrote: > > On Tue, Jul 7, 2009 at 8:41 AM, Anand Kumar > Prabhakar<anand2...@gmail.com> wrote: >> Is there any way so that we can read the data from the >> CSV file and load it into the Solr database without using "/update/csv" > > That *is* the right way to load a CSV file into Solr. > How many records are in the CSV file, and how much heap are you giving the > JVM? > Try a small CSV file first to make sure that it's being parsed > correctly... for example, do a > > head -1000 bigfile.csv > smallfile.csv > > Now upload that and inspect the documents by querying Solr to ensure > that everything imported as expected. > > -Yonik > http://www.lucidimagination.com > > -- View this message in context: http://www.nabble.com/Loading-Data-into-Solr-without-HTTP-tp24372564p24373116.html Sent from the Solr - User mailing list archive at Nabble.com.