Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
search_request_config.php File Reference

Go to the source code of this file.

Variables

 return ["suggested_search_container"=> ["dimensions"=> ["scope"=> ["name"=> "scope", "value"=> "default",],], "queries"=> ["suggested_search_container"=> ["name"=> "suggested_search_container", "boost"=> "2", "queryReference"=> [["clause"=> "must", "ref"=> "fulltext_search_query",], ["clause"=> "should", "ref"=> "fulltext_search_query2"],], "type"=> "boolQuery",], "fulltext_search_query"=> ["name"=> "fulltext_search_query", "boost"=> "5", "value"=> "default_value", "match"=> [["field"=> "title", "boost"=> "2",], ["field"=> "description"],], "type"=> "matchQuery",], "fulltext_search_query2"=> ["name"=> "fulltext_search_query2", "filterReference"=> [['clause'=> 'must', "ref"=> "promoted",],], "type"=> "filteredQuery",],], "filters"=> ["promoted"=> ["name"=> "promoted", "filterReference"=> [["clause"=> "must", "ref"=> "price_name",], ["clause"=> "should", "ref"=> "price_name1"],], "type"=> "boolFilter",], "price_name"=> ["field"=> "promoted_boost", "name"=> "price_name", "from"=> "10", "to"=> "100", "type"=> "rangeFilter",], "price_name1"=> ["name"=> "price_name1", "field"=> "price_name", "value"=> "\$name", "type"=> "termFilter",],], "aggregations"=> ["category_bucket"=> ["name"=> "category_bucket", "field"=> "category", "metric"=> [["type"=> "sum",], ["type"=> "count",], ["type"=> "min",], ["type"=> "max",],], "type"=> "termBucket",], "price_bucket"=> ["name"=> "price_bucket", "field"=> "price", "metric"=> [["type"=> "sum",], ["type"=> "count",], ["type"=> "min",], ["type"=> "max",],], "range"=> [["from"=> "", "to"=> "50",], ["from"=> "50", "to"=> "100",], ["from"=> "100", "to"=> "",],], "type"=> "rangeBucket",],], "from"=> "10", "size"=> "10", "query"=> "suggested_search_container", "index"=> "product",]]
 

Variable Documentation

◆ return

return[ "suggested_search_container"=> [ "dimensions"=> [ "scope"=> [ "name"=> "scope", "value"=> "default",],], "queries"=> [ "suggested_search_container"=> [ "name"=> "suggested_search_container", "boost"=> "2", "queryReference"=> [ [ "clause"=> "must", "ref"=> "fulltext_search_query",], [ "clause"=> "should", "ref"=> "fulltext_search_query2"],], "type"=> "boolQuery",], "fulltext_search_query"=> [ "name"=> "fulltext_search_query", "boost"=> "5", "value"=> "default_value", "match"=> [ [ "field"=> "title", "boost"=> "2",], [ "field"=> "description"],], "type"=> "matchQuery",], "fulltext_search_query2"=> [ "name"=> "fulltext_search_query2", "filterReference"=> [ [ 'clause'=> 'must', "ref"=> "promoted",],], "type"=> "filteredQuery",],], "filters"=> [ "promoted"=> [ "name"=> "promoted", "filterReference"=> [ [ "clause"=> "must", "ref"=> "price_name",], [ "clause"=> "should", "ref"=> "price_name1"],], "type"=> "boolFilter",], "price_name"=> [ "field"=> "promoted_boost", "name"=> "price_name", "from"=> "10", "to"=> "100", "type"=> "rangeFilter",], "price_name1"=> [ "name"=> "price_name1", "field"=> "price_name", "value"=> "\$name", "type"=> "termFilter",],], "aggregations"=> [ "category_bucket"=> [ "name"=> "category_bucket", "field"=> "category", "metric"=> [ [ "type"=> "sum",], [ "type"=> "count",], [ "type"=> "min",], [ "type"=> "max",],], "type"=> "termBucket",], "price_bucket"=> [ "name"=> "price_bucket", "field"=> "price", "metric"=> [ [ "type"=> "sum",], [ "type"=> "count",], [ "type"=> "min",], [ "type"=> "max",],], "range"=> [ [ "from"=> "", "to"=> "50",], [ "from"=> "50", "to"=> "100",], [ "from"=> "100", "to"=> "",],], "type"=> "rangeBucket",],], "from"=> "10", "size"=> "10", "query"=> "suggested_search_container", "index"=> "product",]]

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 144 of file search_request_config.php.