I'm looking at using Solr or ElasticSearch for a few clientside javascript apps. In one instance I could call the API directly.
I'm pretty new to this concept and one of the first things that came to mind is how do you avoid security related issues like people issuing delete commands against the API? Is it appropriate to hide the search API behind a layer, like a small PHP or Sinatra API to that client interacts with?
Thanks!