From 8ea96b84162b199953f7ef62d496484b76685dc4 Mon Sep 17 00:00:00 2001 From: Nicolas Steenlant Date: Thu, 12 Mar 2020 16:31:12 +0100 Subject: [PATCH] 1.0202 --- Build.PL | 2 +- Changes | 2 ++ README.md | 14 ++++++++------ lib/Catmandu/Store/ElasticSearch.pm | 2 +- lib/Catmandu/Store/ElasticSearch/Bag.pm | 2 +- lib/Catmandu/Store/ElasticSearch/CQL.pm | 2 +- lib/Catmandu/Store/ElasticSearch/Searcher.pm | 2 +- 7 files changed, 15 insertions(+), 11 deletions(-) diff --git a/Build.PL b/Build.PL index 5876091..b8695ec 100644 --- a/Build.PL +++ b/Build.PL @@ -18,7 +18,7 @@ my %module_build_args = ( "=over 4" ], "dist_name" => "Catmandu-Store-Elasticsearch", - "dist_version" => "1.0201", + "dist_version" => "1.0202", "license" => "perl", "module_name" => "Catmandu::Store::Elasticsearch", "recursive_test_files" => 1, diff --git a/Changes b/Changes index ab8940d..8ab78d6 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for Catmandu-Store-ElasticSearch {{$NEXT}} + +1.0202 2020-03-12 16:31:02 CET - only add type for es 1x-2.x in reader methods 1.0201 2019-10-11 12:07:18 CEST diff --git a/README.md b/README.md index 0680748..50b2855 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Catmandu::Store::ElasticSearch - A searchable store backed by Elasticsearch use Catmandu; my $store = Catmandu->store('ElasticSearch'); + # options will be passed to the underlying Search::Elasticsearch client + my $store = Catmandu->store('ElasticSearch', nodes => ['server.example.com:9200']); my $obj1 = $store->bag('catmandu')->add({ name => 'Patrick' }); @@ -92,14 +94,14 @@ Optionally provide for each bag an `on_error` error handler (See below). This Catmandu::Store implements: -- [Catmandu::Store](https://metacpan.org/pod/Catmandu::Store) +- [Catmandu::Store](https://metacpan.org/pod/Catmandu%3A%3AStore) Each Catmandu::Bag in this Catmandu::Store implements: -- [Catmandu::Bag](https://metacpan.org/pod/Catmandu::Bag) -- [Catmandu::Droppable](https://metacpan.org/pod/Catmandu::Droppable) -- [Catmandu::Searchable](https://metacpan.org/pod/Catmandu::Searchable) -- [Catmandu::CQLSearchable](https://metacpan.org/pod/Catmandu::CQLSearchable) +- [Catmandu::Bag](https://metacpan.org/pod/Catmandu%3A%3ABag) +- [Catmandu::Droppable](https://metacpan.org/pod/Catmandu%3A%3ADroppable) +- [Catmandu::Searchable](https://metacpan.org/pod/Catmandu%3A%3ASearchable) +- [Catmandu::CQLSearchable](https://metacpan.org/pod/Catmandu%3A%3ACQLSearchable) # INDEX MAPPING @@ -274,7 +276,7 @@ import you data again. # SEE ALSO -[Catmandu::Store](https://metacpan.org/pod/Catmandu::Store) +[Catmandu::Store](https://metacpan.org/pod/Catmandu%3A%3AStore) # AUTHOR diff --git a/lib/Catmandu/Store/ElasticSearch.pm b/lib/Catmandu/Store/ElasticSearch.pm index b468d68..5a601d2 100644 --- a/lib/Catmandu/Store/ElasticSearch.pm +++ b/lib/Catmandu/Store/ElasticSearch.pm @@ -2,7 +2,7 @@ package Catmandu::Store::ElasticSearch; use Catmandu::Sane; -our $VERSION = '1.0201'; +our $VERSION = '1.0202'; use Search::Elasticsearch; use Catmandu::Util qw(is_instance); diff --git a/lib/Catmandu/Store/ElasticSearch/Bag.pm b/lib/Catmandu/Store/ElasticSearch/Bag.pm index 260d088..06944f9 100644 --- a/lib/Catmandu/Store/ElasticSearch/Bag.pm +++ b/lib/Catmandu/Store/ElasticSearch/Bag.pm @@ -2,7 +2,7 @@ package Catmandu::Store::ElasticSearch::Bag; use Catmandu::Sane; -our $VERSION = '1.0201'; +our $VERSION = '1.0202'; use Catmandu::Hits; use Cpanel::JSON::XS qw(encode_json decode_json); diff --git a/lib/Catmandu/Store/ElasticSearch/CQL.pm b/lib/Catmandu/Store/ElasticSearch/CQL.pm index d155165..3fd2170 100644 --- a/lib/Catmandu/Store/ElasticSearch/CQL.pm +++ b/lib/Catmandu/Store/ElasticSearch/CQL.pm @@ -2,7 +2,7 @@ package Catmandu::Store::ElasticSearch::CQL; use Catmandu::Sane; -our $VERSION = '1.0201'; +our $VERSION = '1.0202'; use Catmandu::Util qw(require_package trim); use CQL::Parser; diff --git a/lib/Catmandu/Store/ElasticSearch/Searcher.pm b/lib/Catmandu/Store/ElasticSearch/Searcher.pm index 615837b..b252fc2 100644 --- a/lib/Catmandu/Store/ElasticSearch/Searcher.pm +++ b/lib/Catmandu/Store/ElasticSearch/Searcher.pm @@ -2,7 +2,7 @@ package Catmandu::Store::ElasticSearch::Searcher; use Catmandu::Sane; -our $VERSION = '1.0201'; +our $VERSION = '1.0202'; use Moo; use namespace::clean;