|
Lines 505-511
subtest 'build_query tests' => sub {
Link Here
|
| 505 |
$query->{aggregations}{'author'}{'terms'}, |
505 |
$query->{aggregations}{'author'}{'terms'}, |
| 506 |
{ |
506 |
{ |
| 507 |
field => 'author__facet', |
507 |
field => 'author__facet', |
| 508 |
order => { '_term' => 'asc' }, |
508 |
order => { '_key' => 'asc' }, |
| 509 |
include => '[nN][eE][wW].*' |
509 |
include => '[nN][eE][wW].*' |
| 510 |
}, |
510 |
}, |
| 511 |
"scan aggregation request is properly formed" |
511 |
"scan aggregation request is properly formed" |
|
Lines 523-529
subtest 'build_query tests' => sub {
Link Here
|
| 523 |
$query->{aggregations}{'subject'}{'terms'}, |
523 |
$query->{aggregations}{'subject'}{'terms'}, |
| 524 |
{ |
524 |
{ |
| 525 |
field => 'subject__facet', |
525 |
field => 'subject__facet', |
| 526 |
order => { '_term' => 'asc' }, |
526 |
order => { '_key' => 'asc' }, |
| 527 |
include => '[nN][eE][wW].*' |
527 |
include => '[nN][eE][wW].*' |
| 528 |
}, |
528 |
}, |
| 529 |
"scan aggregation request is properly formed" |
529 |
"scan aggregation request is properly formed" |
| 530 |
- |
|
|