Do you already have the files as solr XML? If so, I don't think you need solrj
If you need to build SolrInputDocuments from your existing structure, solrj is a good choice. If you are indexing lots of stuff, check the StreamingUpdateSolrServer: http://lucene.apache.org/solr/api/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.html On Sun, Oct 17, 2010 at 11:01 PM, Jason, Kim <hialo...@gmail.com> wrote: > > Hi all > I have a huge amount of xml files for indexing. > I want to index using solrj binary format to get performance gain. > Because I heard that using xml files to index is quite slow. > But I don't know how to use index through solrj binary format and can't find > examples. > Please give some help. > Thanks, > -- > View this message in context: > http://lucene.472066.n3.nabble.com/how-can-i-use-solrj-binary-format-for-indexing-tp1722612p1722612.html > Sent from the Solr - User mailing list archive at Nabble.com. >