Permalink
Browse files

Released v0.52

  • Loading branch information...
1 parent d3dd035 commit 00ae0a5030b7eb833925a438a21e5bee9c2922e4 @clintongormley committed Nov 19, 2015
Showing with 38 additions and 2 deletions.
  1. +19 −0 Changes
  2. +1 −1 cpanfile
  3. +1 −1 dist.ini
  4. +17 −0 lib/Elastic/Manual/Delta.pod
View
19 Changes
@@ -1,3 +1,22 @@
+0.52 2015-11-19
+ Adjusted to work with Search::Elasticsearch v2.00
+
+ Elastic::Model is not compatible with Elasticsearch 2.x.
+ Search::Elasticsearch, however, defaults to using a 2.x compatible
+ client: 2_0::Direct. You should specify
+ the client version explicitly when creating a Search::Elasticsearch instance:
+
+ use Search::Elasticsearch;
+ use MyApp;
+
+ my $es = Search::Elasticsearch->new(
+ client => '1_0::Direct', #### explicit client ####
+ nodes => [ "192.168.1.100:9200", "192.168.1.101:9200"]
+ );
+
+ my $model = MyApp->new( es => $es )
+
+
0.51 2015-05-25
Require Search::Elasticsearch v1.20
View
@@ -49,7 +49,7 @@ on 'configure' => sub {
on 'develop' => sub {
requires "Test::EOL" => "0";
- requires "Test::More" => "0";
+ requires "Test::More" => "0.88";
requires "Test::NoTabs" => "0";
requires "Test::Pod" => "1.41";
};
View
@@ -2,7 +2,7 @@ name = Elastic-Model
author = Clinton Gormley <drtech@cpan.org>
license = Perl_5
copyright_holder = Clinton Gormley
-version = 0.51
+version = 0.52
[GatherDir]
exclude_filename = README.pod
@@ -12,6 +12,23 @@ a focus on things that affect backwards compatibility. This does duplicate
data from the Changes file, but aims to provide more details and when possible
workarounds.
+=head2 0.52
+
+Elastic::Model is not compatible with Elasticsearch 2.x. L<Search::Elasticsearch>,
+however, defaults to using a 2.x compatible client: C<2_0::Direct>. You should specify
+the client version explicitly when creating a Search::Elasticsearch instance:
+
+ use Search::Elasticsearch;
+ use MyApp;
+
+ my $es = Search::Elasticsearch->new(
+ client => '1_0::Direct', #### explicit client ####
+ nodes => [ "192.168.1.100:9200", "192.168.1.101:9200"]
+ );
+
+ my $model = MyApp->new( es => $es )
+
+
=head2 0.51
Requires Search::Elasticsearch v1.20 or above. Tested on Elasticsearch v1.6

0 comments on commit 00ae0a5

Please sign in to comment.