More specifically, you probably want ContentStreamUpdateRequest:
http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/request/ContentStreamUpdateRequest.html
With an example here:
http://wiki.apache.org/solr/ContentStreamUpdateRequestExample
-- Jack Krupansky
-----Original Message-----
From: Ahmet Arslan
Sent: Monday, June 04, 2012 7:29 AM
To: solr-user@lucene.apache.org
Subject: Re: How to use SolrJ index a file or a FileInputStream with some
other attributes?
How to use SolrJ index a file or a
FileInputStream with some other
attributes?
Please give me some example.
Here are two good resources:
http://www.lucidimagination.com/blog/2012/02/14/indexing-with-solrj/
http://wiki.apache.org/solr/Solrj