Download Latest Version 8.5 source code.zip (116.0 kB)
Email in envelope

Get an email when there's a new version of es-utils

Home / release-8.1
Name Modified Size InfoDownloads / Week
Parent folder
8.1 source code.tar.gz 2021-09-01 82.5 kB
8.1 source code.zip 2021-09-01 112.1 kB
README.md 2021-09-01 543 Bytes
Totals: 3 Items   195.2 kB 0
  • Adds documentation for es-aggregate.pl and App::ElasticSearch::Utilities::Query
  • Adds tests for App::ElasticSearch::Utilities::Query
  • Fixes the handling of minimum_should_match parameter.

This code now does the right thing:

:::perl

my $q = App::ElasticSearch::Utilities::Query->new();

$q->add_bool( should => { term => { foo => 'bar' } });
$q->add_bool( should => { term => { bar => 'baz' } });

$q->minimum_should_match(1);

Tests in place to make sure it does in the future too!

Source: README.md, updated 2021-09-01