What is your production use? You have to answer that for yourself. post.jar makes a couple of things easy. If your production use fits into those (e.g. no cluster) - great, use it. It is certainly not any worse than cURL.
But if you are running a cluster and have specific requirements, then yes, use something that's cluster aware. Whether it is a custom client on top of SolrJ, Spring Data, or Cloudera pipeline will depend on your particular use case. Don't make your life over-complicated in advance. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853 On 28 October 2014 17:12, Olivier Austina <olivier.aust...@gmail.com> wrote: > Hi All, > > I am reading the solr documentation. I have understood that post.jar > <http://wiki.apache.org/solr/ExtractingRequestHandler#SimplePostTool_.28post.jar.29> > is not meant for production use, cURL > <https://cwiki.apache.org/confluence/display/solr/Introduction+to+Solr+Indexing> > is not recommanded. Is SolrJ better for production? Thank you. > Regards > Olivier