Introduction
In the previous chapter, we saw how it is possible to use a native client for accessing the ElasticSearch server via Java. This chapter is dedicated to Python language and how to manage common tasks via its clients.
As well as Java, ElasticSearch team supports official clients for Perl, PHP, Python, and Ruby (refer to the announcement post on ElasticSearch blog at http://www.elasticsearch.org/blog/unleash-the-clients-ruby-python-php-perl/). They are pretty new as their initial public release was in September 2013. These clients have the following advantages against other implementations:
- They are strongly tied to the ElasticSearch API. ElasticSearch team says These clients are direct translations of the native ElasticSearch REST interface.
- They handle dynamic node detection and failover. They are built with a strong networking base for communicating with the cluster.
- They have a full coverage of the REST API.
- They share the same application approach for every language in which...