This is an automated email from the git hooks/post-receive script. js pushed a commit to branch master in repository libcatmandu-perl.
commit 2347383a69370e056e2bb54ea72c4d0251022acd Author: Nicolas Steenlant <nicolas.steenl...@ugent.be> Date: Mon Jan 18 14:08:53 2016 +0100 more delete command examples --- lib/Catmandu/Cmd/delete.pm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/Catmandu/Cmd/delete.pm b/lib/Catmandu/Cmd/delete.pm index 1d745e7..81b0220 100644 --- a/lib/Catmandu/Cmd/delete.pm +++ b/lib/Catmandu/Cmd/delete.pm @@ -51,9 +51,18 @@ Catmandu::Cmd::delete - delete objects from a store catmandu delete <STORE> <OPTIONS> + + # delete items with matching _id + catmandu delete ElasticSearch --index-name items --bag book \ + --id 1234 --id 2345 + + # delete items matching the query catmandu delete ElasticSearch --index-name items --bag book \ --query 'title:"My Rabbit"' + # delete all items + catmandu delete ElasticSearch --index-name items --bag book + catmandu help store ElasticSearch - + =cut -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits