From 2b0e580046ae22d4961a23fb0f972d1092a74ee0 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Thu, 6 Feb 2014 19:10:39 +0100 Subject: [PATCH] [DOCS] Added backwards compatibility instructions to Perl client --- docs/perl/index.asciidoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/perl/index.asciidoc b/docs/perl/index.asciidoc index 717dd20c7c1..30adee262b5 100644 --- a/docs/perl/index.asciidoc +++ b/docs/perl/index.asciidoc @@ -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