Client API implementations for Sphinx
Sphinx comes with a number of native searchd
client API implementations. At the time of writing this book, Sphinx came with PHP, Python, and Java implementations. Some third-party open source implementations for Perl, Ruby, and C++ are also available.
All APIs provide the same set of methods and they implement the same network protocol. As a result, they more or less all work in a similar fashion, they all work in a similar fashion.
Note
All examples in this chapter are for PHP implementation of the Sphinx API. However, you can just as easily use other programming languages.
Sphinx is used with PHP more widely than any other language.