Accessing Solr from PHP applications

There are a number of ways to access Solr from PHP, and none of them seem to have taken hold of the market as the single best approach. So keep an eye on the wiki page at for new developments.

Adding the URL parameter, wt=php, produces simple PHP output in a typical array data structure:

    'q'=>'Pete Moutso')),
    'a_name'=>'Pete Moutso',

The same response using the Serialized PHP output specified by wt=phps URL parameter is a much ...

Get Apache Solr Enterprise Search Server - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.