Anyone has thoughts on integrating Solr with a front end JS framework to perform search queries directly on Solr.
What are the disadvantages/risks of using this approach vs a traditional approach of using the Sitecore.ContentSearch API?
Potential risks:
If you want to use SOLR directly from the front end, you must have to expose SOLR publically. Definitely it is a security issue.
Better approach is to go for microservices approach: