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:1 [
0 => array:2 [
"key" => "pour elle"
"doc_count" => 33
]
]
]
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:33 [
0 => array:2 [
"key" => "3694"
"doc_count" => 1
]
1 => array:2 [
"key" => "3835"
"doc_count" => 1
]
2 => array:2 [
"key" => "3882"
"doc_count" => 1
]
3 => array:2 [
"key" => "3970"
"doc_count" => 1
]
4 => array:2 [
"key" => "4038"
"doc_count" => 1
]
5 => array:2 [
"key" => "4039"
"doc_count" => 1
]
6 => array:2 [
"key" => "4040"
"doc_count" => 1
]
7 => array:2 [
"key" => "4042"
"doc_count" => 1
]
8 => array:2 [
"key" => "4056"
"doc_count" => 1
]
9 => array:2 [
"key" => "4059"
"doc_count" => 1
]
10 => array:2 [
"key" => "4088"
"doc_count" => 1
]
11 => array:2 [
"key" => "4116"
"doc_count" => 1
]
12 => array:2 [
"key" => "4117"
"doc_count" => 1
]
13 => array:2 [
"key" => "4126"
"doc_count" => 1
]
14 => array:2 [
"key" => "4132"
"doc_count" => 1
]
15 => array:2 [
"key" => "4133"
"doc_count" => 1
]
16 => array:2 [
"key" => "4140"
"doc_count" => 1
]
17 => array:2 [
"key" => "4141"
"doc_count" => 1
]
18 => array:2 [
"key" => "4153"
"doc_count" => 1
]
19 => array:2 [
"key" => "4191"
"doc_count" => 1
]
20 => array:2 [
"key" => "4192"
"doc_count" => 1
]
21 => array:2 [
"key" => "4193"
"doc_count" => 1
]
22 => array:2 [
"key" => "4203"
"doc_count" => 1
]
23 => array:2 [
"key" => "4211"
"doc_count" => 1
]
24 => array:2 [
"key" => "4212"
"doc_count" => 1
]
25 => array:2 [
"key" => "4213"
"doc_count" => 1
]
26 => array:2 [
"key" => "4220"
"doc_count" => 1
]
27 => array:2 [
"key" => "4245"
"doc_count" => 1
]
28 => array:2 [
"key" => "4248"
"doc_count" => 1
]
29 => array:2 [
"key" => "4250"
"doc_count" => 1
]
30 => array:2 [
"key" => "4252"
"doc_count" => 1
]
31 => array:2 [
"key" => "4253"
"doc_count" => 1
]
32 => array:2 [
"key" => "4258"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => 2369
"doc_count" => 33
]
]
]
16 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => "pour elle"
"doc_count" => 33
]
]
]
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:2 [
0 => array:2 [
"key" => "solde"
"doc_count" => 6
]
1 => array:2 [
"key" => "newest"
"doc_count" => 4
]
]
]
"max_price" => array:1 [
"value" => 1900.0
]
"min_price" => array:1 [
"value" => 950.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" => 33
]
]
]
]
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:2 [
"color" => array:33 [
0 => "3694"
1 => "3835"
2 => "3882"
3 => "3970"
4 => "4038"
5 => "4039"
6 => "4040"
7 => "4042"
8 => "4056"
9 => "4059"
10 => "4088"
11 => "4116"
12 => "4117"
13 => "4126"
14 => "4132"
15 => "4133"
16 => "4140"
17 => "4141"
18 => "4153"
19 => "4191"
20 => "4192"
21 => "4193"
22 => "4203"
23 => "4211"
24 => "4212"
25 => "4213"
26 => "4220"
27 => "4245"
28 => "4248"
29 => "4250"
30 => "4252"
31 => "4253"
32 => "4258"
]
"badge" => array:2 [
0 => "newest"
1 => "solde"
]
]
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" => 33
"relation" => "eq"
]
"max_score" => null
"hits" => array:33 [
0 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41447"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 204
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41519"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 131
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41873"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 62
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41375"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 17
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39225"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 72
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38335"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 11
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38733"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 10
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39080"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 8
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38230"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 7
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39301"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 6
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39791"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 148
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37135"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 132
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41294"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 132
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39402"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 131
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41231"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 131
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40963"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 127
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39502"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 120
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40570"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 107
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40798"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 106
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40389"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 96
2 => 3.0
]
]
20 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40385"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 72
2 => 3.0
]
]
21 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39699"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 63
2 => 3.0
]
]
22 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40135"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 54
2 => 3.0
]
]
23 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41075"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 46
2 => 3.0
]
]
24 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38995"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 29
2 => 3.0
]
]
25 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40158"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 26
2 => 3.0
]
]
26 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38922"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 17
2 => 3.0
]
]
27 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38176"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 13
2 => 3.0
]
]
28 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40334"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 13
2 => 3.0
]
]
29 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40843"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 12
2 => 3.0
]
]
30 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37730"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 9
2 => 3.0
]
]
31 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39128"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 9
2 => 3.0
]
]
32 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40920"
"_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/pochettes/pochette-sac-banane"