Thanks Erik and Emir. Erik: The fact that SolrJ is aware of SolrCloud is enough to put it over plain old HTTP post.
Emir: I looked into Solr's data import handler, unfortunately, it won't work for my need. To close the loop on this question, I will need to enable Jetty's SSL (the jetty that comes with Solr 5.1). If I do so, will SolrJ still work, can I assume that SolrJ supports SSL? I Google'ed but cannot find the answer. Thanks again. Steve On Mon, May 11, 2015 at 8:39 AM, Erik Hatcher <erik.hatc...@gmail.com> wrote: > Another advantage to SolrJ is with SolrCloud (ZK) awareness, and taking > advantage of some routing optimizations client-side so the cluster has less > hops to make. > > — > Erik Hatcher, Senior Solutions Architect > http://www.lucidworks.com <http://www.lucidworks.com/> > > > > > > On May 11, 2015, at 8:21 AM, Steven White <swhite4...@gmail.com> wrote: > > > > Hi Everyone, > > > > If all that I need to do is send data to Solr to add / delete a Solr > > document, which tool is better for the job: SolrJ or plain old HTTP post? > > > > In other word, what are the advantages of using SolrJ when the need is to > > push data to Solr for indexing? > > > > Thanks, > > > > Steve > >