php of jquery to access solr

php of jquery to access solr  using -'php,jquery,ajax,solr'

im a beginner in using solr.

i know that you can either use ajax solr or solr-php-client to get the search results from solr.

but which should i use or are there occasions you have to choose one of them?

for example, which one is a better solution for autocompletion and which one is better for search content in threads?

would appreciate if someone could shed a light on this.

asked Oct 11, 2015 by mca.agarwal
0 votes
1 view

1 Answer

0 votes

If you use SolrJS you're exposing your Solr instance to the world, so you need to make sure you disable the update handler. With solr-ajax you can set up a proxy to avoid this.

See Security concerns for details, also:

answered Oct 11, 2015 by ankitarajoria4