Dumped Contents
In
TaxonController.php
line 841:
return $row->getId();
}, $siteFilterFacets));
dump($esAggregations) ;
$siteFilterShape = [];
if (count($esAggregations['shape']['buckets']) > 1) {
$siteFilterShape = $productRepository->findBy([
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" => 28
]
]
]
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:22 [
0 => array:2 [
"key" => "3835"
"doc_count" => 2
]
1 => array:2 [
"key" => "3970"
"doc_count" => 2
]
2 => array:2 [
"key" => "4211"
"doc_count" => 2
]
3 => array:2 [
"key" => "4212"
"doc_count" => 2
]
4 => array:2 [
"key" => "4250"
"doc_count" => 2
]
5 => array:2 [
"key" => "4253"
"doc_count" => 2
]
6 => array:2 [
"key" => "1721"
"doc_count" => 1
]
7 => array:2 [
"key" => "3318"
"doc_count" => 1
]
8 => array:2 [
"key" => "3579"
"doc_count" => 1
]
9 => array:2 [
"key" => "3672"
"doc_count" => 1
]
10 => array:2 [
"key" => "3956"
"doc_count" => 1
]
11 => array:2 [
"key" => "4040"
"doc_count" => 1
]
12 => array:2 [
"key" => "4056"
"doc_count" => 1
]
13 => array:2 [
"key" => "4133"
"doc_count" => 1
]
14 => array:2 [
"key" => "4140"
"doc_count" => 1
]
15 => array:2 [
"key" => "4191"
"doc_count" => 1
]
16 => array:2 [
"key" => "4192"
"doc_count" => 1
]
17 => array:2 [
"key" => "4193"
"doc_count" => 1
]
18 => array:2 [
"key" => "4213"
"doc_count" => 1
]
19 => array:2 [
"key" => "4220"
"doc_count" => 1
]
20 => array:2 [
"key" => "4248"
"doc_count" => 1
]
21 => array:2 [
"key" => "4258"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => 86
"doc_count" => 15
]
1 => array:2 [
"key" => 742
"doc_count" => 13
]
]
]
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" => 28
]
]
]
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" => "newest"
"doc_count" => 5
]
1 => array:2 [
"key" => "low_price"
"doc_count" => 1
]
]
]
"max_price" => array:1 [
"value" => 900.0
]
"min_price" => array:1 [
"value" => 400.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:2 [
0 => array:2 [
"key" => "coton enduit"
"doc_count" => 15
]
1 => array:2 [
"key" => "coton"
"doc_count" => 13
]
]
]
]
In
TaxonController.php
line 921:
$noindex = true;
dump($siteFilterFacetsValues);
dump($request->get('filtre'));
//on regarde si le filtre engagé est indexable ou non
foreach($siteFilterFacetsValues as $key => $facet){
array:4 [
"color" => array:22 [
0 => "1721"
1 => "3318"
2 => "3579"
3 => "3672"
4 => "3835"
5 => "3956"
6 => "3970"
7 => "4040"
8 => "4056"
9 => "4133"
10 => "4140"
11 => "4191"
12 => "4192"
13 => "4193"
14 => "4211"
15 => "4212"
16 => "4213"
17 => "4220"
18 => "4248"
19 => "4250"
20 => "4253"
21 => "4258"
]
"shape" => array:2 [
0 => 86
1 => 742
]
"badge" => array:2 [
0 => "low_price"
1 => "newest"
]
10 => array:2 [
0 => "coton"
1 => "coton enduit"
]
]
In
TaxonController.php
line 922:
$noindex = true;
dump($siteFilterFacetsValues);
dump($request->get('filtre'));
//on regarde si le filtre engagé est indexable ou non
foreach($siteFilterFacetsValues as $key => $facet){
if(is_int($key)){
"forme"
In
TaxonController.php
line 944:
}
dump($noindex);
$meta_filtre = ucfirst($request->get('filtre')).' '.$request->get('filtrevalue');
false
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" => 28
"relation" => "eq"
]
"max_score" => null
"hits" => array:28 [
0 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41520"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 195
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41870"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 192
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41513"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 116
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41452"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 69
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41459"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 56
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37188"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 5
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40804"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 145
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40970"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 122
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40792"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 102
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_33673"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 87
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_32735"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 85
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40396"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 73
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36937"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 70
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36940"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 49
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_30747"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 41
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41079"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 29
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_30764"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 23
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41298"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 14
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35713"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 11
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37817"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 11
2 => 3.0
]
]
20 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39782"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 11
2 => 3.0
]
]
21 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40927"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 9
2 => 3.0
]
]
22 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38188"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 8
2 => 3.0
]
]
23 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35710"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
24 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39506"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
25 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40304"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
26 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40347"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
27 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40977"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
]
]
]
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/accessoires-de-sacs/porte-cles-collier-et-pochette-porte-cle/forme/port-cle-col"