Out of my head... but are you not supposed to active the stream-handler in SOLR ? Think it is documented...
Cheers //Marcus On Mon, Jul 6, 2009 at 8:55 PM, Francis Yakin <fya...@liquid.com> wrote: > Yes, I uploaded the CSV file that I get it from Database then I ran that > cmd and I have the error. > > Any suggestions? > > Thanks > > Francis > > -----Original Message----- > From: NitinMalik [mailto:malik.ni...@yahoo.com] > Sent: Monday, July 06, 2009 11:32 AM > To: solr-user@lucene.apache.org > Subject: RE: Is there any other way to load the index beside using "http" > connection? > > > Hi Francis, > > I have experienced that update stream handler (for a xml file in my case) > worked only for Solr running on the same machine. I also got same error > when > I tried to update the documents on a remote Solr instance. > > Regards > Nitin > > > Francis Yakin wrote: > > > > > > Ok, I have a CSV file(called it test.csv) from database. > > > > When I tried to upload this file to solr using this cmd, I got > > "stream.contentType=text/plain: No such file or directory" error > > > > curl > > > http://localhost:8983/solr/update/csv?stream.file=/opt/apache-1.2.0/example/exampledocs/test.csv&stream.contentType=text/plain;charset=utf-8 > > > > -bash: stream.contentType=text/plain: No such file or directory > > undefined field cat > > > > What did I do wrong? > > > > Francis > > > > -----Original Message----- > > From: Norberto Meijome [mailto:numard...@gmail.com] > > Sent: Monday, July 06, 2009 11:01 AM > > To: Francis Yakin > > Cc: solr-user@lucene.apache.org > > Subject: Re: Is there any other way to load the index beside using "http" > > connection? > > > > On Mon, 6 Jul 2009 09:56:03 -0700 > > Francis Yakin <fya...@liquid.com> wrote: > > > >> Norberto, > >> > >> Thanks, I think my questions is: > >> > >> >>why not generate your SQL output directly into your oracle server as a > >> file > >> > >> What type of file is this? > >> > >> > > > > a file in a format that you can then import into SOLR. > > > > _________________________ > > {Beto|Norberto|Numard} Meijome > > > > "Gravity cannot be blamed for people falling in love." > > Albert Einstein > > > > I speak for myself, not my employer. Contents may be hot. Slippery when > > wet. Reading disclaimers makes you go blind. Writing them is worse. You > > have been Warned. > > > > > > -- > View this message in context: > http://www.nabble.com/Is-there-any-other-way-to-load-the-index-beside-using-%22http%22-connection--tp24297934p24360603.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- Marcus Herou CTO and co-founder Tailsweep AB +46702561312 marcus.he...@tailsweep.com http://www.tailsweep.com/