You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/02/26 14:01:01 UTC

[Solr Wiki] Update of "Solrj" by NoblePaul

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by NoblePaul:
http://wiki.apache.org/solr/Solrj

------------------------------------------------------------------------------
  }}}
  /!\ Note --  Reuse the instance of !SolrServer if you are using this feature (for performance )
  
+ == Setting the RequestWriter ==
+ <!> ["Solr1.4"]
+ SolrJ lets you upload content in XML and binary format. Dafault is set to be XML.  Use the following to upload using Binary format. this is the same format which SOlrJ uses to fetch results.
+ {{{
+     server.setRequestWriter(new BinaryRequestWriter());     
+ }}}
+ 
+ 
  == Reading Data from Solr ==
   * Get an instance of server first
  {{{