equal
deleted
inserted
replaced
6 |
6 |
7 use EasyRdf\Literal; |
7 use EasyRdf\Literal; |
8 |
8 |
9 class DateStatsControllerTest extends TestCase |
9 class DateStatsControllerTest extends TestCase |
10 { |
10 { |
11 private $sparqlClient; |
|
12 |
|
13 const ES_QUERY = [ |
11 const ES_QUERY = [ |
14 'index' => 'corpus', |
12 'index' => 'corpus', |
15 'body' => [ |
13 'body' => [ |
16 "size" => 0, |
14 "size" => 0, |
17 "query" => [ "match_all" => []], |
15 "query" => [ "match_all" => [] ], |
18 "aggs" => [ |
16 "aggs" => [ |
19 "datestats" => [ |
17 "datestats" => [ |
20 "nested"=> [ |
18 "nested"=> [ |
21 "path" => "creation_years" |
19 "path" => "creation_years" |
22 ], |
20 ], |