I was referring to David Hastings' suggestion of shielding solr from direct access which is something I strongly agree with.
If you're not going with a PHP-based server-side application as to not expose your solr directly to the javascript application (and thus to possible manipulation by an end user) then you obviously won't need solarium. As Paras Lehana said: "Keep your front-end query simple - just describe your query. All the other parameters can be added on the web server side." ... that could then be implemented in your Perl code. Christian > Am 25.11.2019 um 16:32 schrieb rhys J <rhyssha...@gmail.com>: > >> if you are taking the PHP route for the mentioned server part then I would >> suggest >> using a client library, not plain curl. There is solarium, for instance: >> >> https://solarium.readthedocs.io/en/stable/ >> https://github.com/solariumphp/solarium >> >> It can use curl under the hood but you can program your stuff on a higher >> level, >> against an API. >> >> > I am using jquery, so I am using the json package to send and decode the > json that solr sends. I hope that makes sense? > > Thanks for your tip! > > Our pages are a combo of jquery, javascript, and perl. -- Christian Spitzlay Senior Software-Entwickler bio.logis Genetic Information Management GmbH Zentrale: Olof-Palme-Str. 15 D-60439 Frankfurt am Main T: +49 69 348 739 116 christian.spitz...@biologis.com biologis.com Geschäftsführung: Prof. Dr. med. Daniela Steinberger Firmensitz: Altenhöferallee 3, 60438 Frankfurt am Main Registergericht Frankfurt am Main, HRB 97945