Hi Erik,

I really meant to send this message earlier, I read code and tested,
your suggestion solved my problem, really appreciate!

Thanks very much for helps, Lisheng

-----Original Message-----
From: Erik Hatcher [mailto:erik.hatc...@gmail.com]
Sent: Tuesday, September 18, 2012 5:04 PM
To: solr-user@lucene.apache.org
Subject: Re: File content indexing


Solr Cell can already do this.  See the stream.file parameter and content steam 
info on the wiki. 

    Erik

On Sep 18, 2012, at 19:56, "Zhang, Lisheng" <lisheng.zh...@broadvision.com> 
wrote:

> Hi, 
> 
> Sorry I just sent out an unfinished message!
> 
> Reading Solr cell, we indexing a file by first upload it through HTTP to 
> solr, in my
> experience it is rather expensive to pass a big file through HTTP.
> 
> If the file is local, maybe the better way is to pass file path to solr so 
> that solr can
> use java.io API to get file content, maybe this can be much faster?
> 
> I am thinking to change solr a little to do, do you think this is a sensible 
> thing to 
> do (I know how to do, but not sure it can improve performance significantly)?
> 
> Thanks very much for helps, Lisheng

Reply via email to