On Mon, May 11, 2015 at 8:20 PM, Steven White <swhite4...@gmail.com> wrote:
> Thanks Erik and Emir. > > <snip/> > > 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? > > Yes, SolrJ can work with SSL enabled on the server as long as you pass the same JVM parameters on the client side to enable SSL e.g. -Djavax.net.ssl.keyStore= -Djavax.net.ssl.keyStorePassword= -Djavax.net.ssl.trustStore= -Djavax.net.ssl.trustStorePassword= See https://cwiki.apache.org/confluence/display/solr/Enabling+SSL#EnablingSSL-IndexadocumentusingCloudSolrClient > 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 > > > > > -- Regards, Shalin Shekhar Mangar.