array:3 [
  "query" => array:1 [
    "bool" => array:1 [
      "filter" => array:1 [
        "and" => array:1 [
          "filters" => array:4 [
            0 => array:1 [
              "nested" => array:2 [
                "path" => "categories"
                "query" => array:1 [
                  "filtered" => array:1 [
                    "filter" => array:1 [
                      "and" => array:1 [
                        0 => array:1 [
                          "term" => array:1 [
                            "categories.visible_on_stores" => 1
                          ]
                        ]
                      ]
                    ]
                  ]
                ]
              ]
            ]
            1 => array:1 [
              "nested" => array:2 [
                "path" => "manufacturer"
                "query" => array:1 [
                  "filtered" => array:1 [
                    "filter" => array:1 [
                      "and" => array:2 [
                        0 => array:1 [
                          "term" => array:1 [
                            "manufacturer.id" => 2401
                          ]
                        ]
                        1 => array:1 [
                          "term" => array:1 [
                            "manufacturer.visible_on_stores" => 1
                          ]
                        ]
                      ]
                    ]
                  ]
                ]
              ]
            ]
            2 => array:1 [
              "term" => array:1 [
                "published_not_analyzed" => 1
              ]
            ]
            3 => array:1 [
              "term" => array:1 [
                "deleted_not_analyzed" => 0
              ]
            ]
          ]
        ]
      ]
    ]
  ]
  "sort" => array:3 [
    0 => array:1 [
      "price" => array:1 [
        "order" => "asc"
      ]
    ]
    1 => array:1 [
      "quantity" => array:1 [
        "order" => "desc"
      ]
    ]
    2 => array:1 [
      "quantity" => array:1 [
        "order" => "desc"
      ]
    ]
  ]
  "aggregations" => array:8 [
    "manufacturers" => array:2 [
      "aggs" => array:1 [
        "manufacturer_id_name" => array:1 [
          "terms" => array:2 [
            "script" => "doc['manufacturer.id'].value + '|' + doc['manufacturer.name'].value"
            "size" => 0
          ]
        ]
      ]
      "nested" => array:1 [
        "path" => "manufacturer"
      ]
    ]
    "categories" => array:2 [
      "aggs" => array:1 [
        "category" => array:1 [
          "terms" => array:2 [
            "script" => "doc['categories.id'].value + '|' + doc['categories.name'].value + '|' + doc['categories.display_order'].value"
            "size" => 0
          ]
        ]
      ]
      "nested" => array:1 [
        "path" => "categories"
      ]
    ]
    "options" => array:2 [
      "aggs" => array:1 [
        "option_values" => array:1 [
          "terms" => array:2 [
            "script" => "doc['options.parent'].value + '|' + doc['options.group'].value + '|' + doc['options.id'].value + '|' + doc['options.name'].value +'|' + doc['options.display_order'].value"
            "size" => 0
          ]
        ]
      ]
      "nested" => array:1 [
        "path" => "options"
      ]
    ]
    "min_price" => array:1 [
      "min" => array:1 [
        "field" => "price"
      ]
    ]
    "max_price" => array:1 [
      "max" => array:1 [
        "field" => "price"
      ]
    ]
    "used" => array:1 [
      "terms" => array:1 [
        "field" => "used"
      ]
    ]
    "lemil" => array:1 [
      "terms" => array:1 [
        "field" => "lemil"
      ]
    ]
    "instore" => array:1 [
      "terms" => array:1 [
        "field" => "instore"
      ]
    ]
  ]
]