Thank you for the input Yonik, anyway again we are sending an HTTP request to
the server, my requirement is to skip the HTTP request to the SOLR server.
Is there any way to avoid these HTTP requests?



Yonik Seeley-2 wrote:
> 
> from: http://wiki.apache.org/solr/UpdateCSV
> """
> The following request will cause Solr to directly read the input file:
> 
> curl
> http://localhost:8983/solr/update/csv?stream.file=exampledocs/books.csv&stream.contentType=text/plain;charset=utf-8
> #NOTE: The full path, or a path relative to the CWD of the running
> solr server must be used.
> """
> 
> So you can put it anywhere local and give solr the full path to
> directly read it.
> 
> -Yonik
> http://www.lucidimagination.com
> 
> 
> 
> On Wed, Jul 8, 2009 at 8:34 AM, Anand Kumar
> Prabhakar<anand2...@gmail.com> wrote:
>>
>> Is there any way to Place the CSV file to index in the SOLR Server so
>> that
>> the file can be indexed and searched. If so please let me know the
>> location
>> in which we have to place the file. We are looking for a workaround to
>> avoid
>> the HTTP request to the SOLR server as it is taking much time.
>> --
>> View this message in context:
>> http://www.nabble.com/Placing-a-CSV-file-into-SOLR-Server-tp24390648p24390648.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Placing-a-CSV-file-into-SOLR-Server-tp24390648p24391630.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to