Sorry. That is what I meant. But, I put it wrongly. I have not been  
able to find examples of using solrj, for this.

- Sent from iPhone

On 07-May-2010, at 1:23 AM, "Chris Hostetter"  
<hossman_luc...@fucit.org> wrote:

>
> : Subject: Example of using "stream.file" to post a binary file to  
> solr
>    ...
> : Can somebody please point me to an example, of how we can leverage
> : *stream.file* for streaming documents, using UpdateRequest API.  
> (SolrJ
> : API)
>
> the "stream.file" param is not used to "POST" files to Solr from a  
> remote
> client, it's used to tell solr you want it to read a stream from a  
> "local"
> file (ie: a file already on hte solr server)
>
> To POST a raw stream using SolrJ you need to use the
> ContentStreamUpdateRequest...
>
> http://wiki.apache.org/solr/ExtractingRequestHandler#Sending_documents_to_Solr
>
>
> -Hoss
>

Reply via email to