: 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