[DOCS] Added backwards compatibility instructions to Perl client

This commit is contained in:
Clinton Gormley 2014-02-06 19:10:39 +01:00
parent d9b704fd86
commit 2b0e580046
1 changed files with 17 additions and 0 deletions

View File

@ -85,6 +85,23 @@ my $results = $e->search(
);
------------------------------------
[[v0_90]]
== Elasticsearch 0.90.* and earlier
The current version of the client supports the Elasticsearch 1.0 branch by
default, which is not backwards compatible with the 0.90 branch.
If you need to talk to a version of Elasticsearch before 1.0.0,
please use `Elasticsearch::Client::0_90::Direct` as follows:
[source,perl]
------------------------------------
$es = Elasticsearch->new(
client => '0_90::Direct'
);
------------------------------------
== Reporting issues
The GitHub repository is http://github.com/elasticsearch/elasticsearch-perl