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