Dumped Contents
In
TaxonController.php
line 202:
return $row->getId();
}, $siteFilterFacets));
dump( $esAggregations);
$siteFilterShape = [];
if (count($esAggregations['shape']['buckets']) > 1) {
array:17 [
12 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
13 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
14 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => "pour elle"
"doc_count" => 20
]
1 => array:2 [
"key" => "pour lui"
"doc_count" => 1
]
]
]
15 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
"color" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:21 [
0 => array:2 [
"key" => "1"
"doc_count" => 1
]
1 => array:2 [
"key" => "3835"
"doc_count" => 1
]
2 => array:2 [
"key" => "3970"
"doc_count" => 1
]
3 => array:2 [
"key" => "4040"
"doc_count" => 1
]
4 => array:2 [
"key" => "4055"
"doc_count" => 1
]
5 => array:2 [
"key" => "4056"
"doc_count" => 1
]
6 => array:2 [
"key" => "4059"
"doc_count" => 1
]
7 => array:2 [
"key" => "4085"
"doc_count" => 1
]
8 => array:2 [
"key" => "4088"
"doc_count" => 1
]
9 => array:2 [
"key" => "4089"
"doc_count" => 1
]
10 => array:2 [
"key" => "4117"
"doc_count" => 1
]
11 => array:2 [
"key" => "4127"
"doc_count" => 1
]
12 => array:2 [
"key" => "4132"
"doc_count" => 1
]
13 => array:2 [
"key" => "4153"
"doc_count" => 1
]
14 => array:2 [
"key" => "4191"
"doc_count" => 1
]
15 => array:2 [
"key" => "4192"
"doc_count" => 1
]
16 => array:2 [
"key" => "4193"
"doc_count" => 1
]
17 => array:2 [
"key" => "4211"
"doc_count" => 1
]
18 => array:2 [
"key" => "4220"
"doc_count" => 1
]
19 => array:2 [
"key" => "4248"
"doc_count" => 1
]
20 => array:2 [
"key" => "51"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => 1722
"doc_count" => 21
]
]
]
16 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => "pour elle"
"doc_count" => 20
]
1 => array:2 [
"key" => "pour lui"
"doc_count" => 1
]
]
]
17 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
"badge" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => "solde"
"doc_count" => 6
]
]
]
"max_price" => array:1 [
"value" => 1600.0
]
"min_price" => array:1 [
"value" => 800.0
]
5 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
6 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
7 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
8 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
9 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
10 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => "coton enduit"
"doc_count" => 21
]
]
]
]
In
TaxonController.php
line 254:
}
}
dump( $siteFilterFacetsValues);
// Conserve que les filtres à facettes disponible pour cette recherche
$siteFilterFacets = array_filter($siteFilterFacets, function ($row) use (&$siteFilterFacetsValues) {
array:3 [
14 => array:2 [
0 => "pour elle"
1 => "pour lui"
]
"color" => array:21 [
0 => "1"
1 => "51"
2 => "3835"
3 => "3970"
4 => "4040"
5 => "4055"
6 => "4056"
7 => "4059"
8 => "4085"
9 => "4088"
10 => "4089"
11 => "4117"
12 => "4127"
13 => "4132"
14 => "4153"
15 => "4191"
16 => "4192"
17 => "4193"
18 => "4211"
19 => "4220"
20 => "4248"
]
16 => array:2 [
0 => "pour elle"
1 => "pour lui"
]
]
In
ElasticSearchService.php
line 385:
$client = ClientBuilder::create()->build();
$results = $client->search($params);
dump( $results);
return $results;
}
array:4 [
"took" => 0
"timed_out" => false
"_shards" => array:4 [
"total" => 1
"successful" => 1
"skipped" => 0
"failed" => 0
]
"hits" => array:3 [
"total" => array:2 [
"value" => 21
"relation" => "eq"
]
"max_score" => null
"hits" => array:21 [
0 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38296"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 75
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38087"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 59
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38652"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 28
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38777"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 9
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38861"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 5
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39228"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 5
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35719"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 334
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38195"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 200
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39681"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 177
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41310"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 174
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40982"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 172
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_15306"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 109
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36947"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 99
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41096"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 86
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39464"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 61
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40315"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 51
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37827"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 42
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39332"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 12
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40352"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 8
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_17658"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
20 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40408"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
]
]
]
In
TaxonController.php
line 312:
}, $results['hits']['hits']));
}
dump($taxon->getLevel());
// Récupère les liens pour la partie référencement
$referencementllinks = [];
2
In
TwigExtension.php
line 414:
public function switchLanguage() {
$actual_link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
dump($actual_link );
return '';
}
"https://ppmc-staging.webapic.com/nos-produits/univers-bebe/protege-carnet-de-sante"