On 3/19/2016 7:11 AM, GW wrote: > I think the easiest way to write apps for Solr is with some kind of > programming language and the REST API. Don't bother with the PHP or Perl > modules. They are deprecated and beyond useless. just use the HTTP call > that you see in Solr Admin. Mind the URL encoding when putting together > your server calls.
The problem with using the REST-like API directly is that you have to understand the API completely and construct every URL parameter yourself. You also have to understand the response format and write code to extract the info you need from the response. Using a pre-made client makes it so you don't have to do ANY of that. The request is built up from easily understood objects/methods, and all the useful information from the response is loaded into data structures that are fairly easy to understand if you know the language you're writing in. There are a LOT of php clients, and some of them have seen new releases about three months ago. I wouldn't call that deprecated. https://wiki.apache.org/solr/IntegratingSolr#PHP There aren't as many clients for Perl. I haven't checked the last update for these yet: https://wiki.apache.org/solr/IntegratingSolr#Perl Thanks, Shawn