Skip to content

8.1

Compare
Choose a tag to compare
@reyjrar reyjrar released this 01 Sep 00:47
· 32 commits to master since this release
  • 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:

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!