Fatal error: Uncaught Elasticsearch\Common\Exceptions\BadRequest400Exception: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query: {\n \"bool\" : {\n \"should\" : [\n {\n \"multi_match\" : {\n \"query\" : \"\",\n \"fields\" : [\n \"attributes.tspo_search_and_filter.name_sanitized.*_analyzer^2.0\",\n \"keywords.*_analyzer^1.0\",\n \"longDescription.*_analyzer1^1.0\",\n \"name.*_analyzer^2.0\"\n ],\n \"type\" : \"best_fields\",\n \"operator\" : \"OR\",\n \"slop\" : 0,\n \"fuzziness\" : \"AUTO:5,10\",\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"minimum_should_match\" : \"50%\",\n \"tie_breaker\" : 0.3,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"fuzzy_transpositions\" : true,\n \"boost\" : 1.0\n }\n },\n {\n \"nested\" : {\n \"query\" : {\n \"bool\" : {\n \"should\" : [\n {\n \"match\" : {\n \"attributes.tspo_search_and_filter.variants.variantname\" : {\n \"query\" : \"\",\n \"operator\" : \"OR\",\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"fuzzy_transpositions\" : true,\n \"lenient\" : false,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"boost\" : 3.0\n }\n }\n }\n ],\n \"adjust_pure_negative\" : true,\n \"boost\" : 1.0\n }\n },\n \"path\" : \"attributes.tspo_search_and_filter.variants\",\n \"ignore_unmapped\" : false,\n \"score_mode\" : \"avg\",\n \"boost\" : 1.0\n }\n },\n {\n \"match\" : {\n \"attributes.tspo_search_and_filter.manufacturer_name_search_as_you_type\" : {\n \"query\" : \"\",\n \"operator\" : \"OR\",\n \"fuzziness\" : \"AUTO:4,8\",\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"fuzzy_transpositions\" : true,\n \"lenient\" : false,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"boost\" : 3.0\n }\n }\n },\n {\n \"multi_match\" : {\n \"query\" : \"\",\n \"fields\" : [\n \"attributes.tspo_search_and_filter.category_headline.*_analyzer^1.0\",\n \"attributes.tspo_search_and_filter.category_keywords.*_analyzer^5.0\",\n \"attributes.tspo_search_and_filter.category_meta_description.*_analyzer^3.0\",\n \"attributes.tspo_search_and_filter.category_name.*_analyzer^5.0\"\n ],\n \"type\" : \"best_fields\",\n \"operator\" : \"OR\",\n \"slop\" : 0,\n \"fuzziness\" : \"AUTO\",\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"minimum_should_match\" : \"50%\",\n \"tie_breaker\" : 0.3,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"fuzzy_transpositions\" : true,\n \"boost\" : 0.5\n }\n }\n ],\n \"adjust_pure_negative\" : true,\n \"minimum_should_match\" : \"1\",\n \"boost\" : 1.0\n }\n}","index_uuid":"c7rnT8UsTLa3GBbfwa8a9g","index":"sw_shop3_product_20240503102111"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"sw_shop3_product_20240503102111","node":"yYm4pZ8tRjWxBjeMy1l1yg","reason":{"type":"query_shard_exception","reason":"failed to create query: {\n \"bool\" : {\n \"should\" : [\n {\n \"multi_match\" : {\n \"query\" : \"\",\n \"fields\" : [\n \"attributes.tspo_search_and_filter.name_sanitized.*_analyzer^2.0\",\n \"keywords.*_analyzer^1.0\",\n \"longDescription.*_analyzer1^1.0\",\n \"name.*_analyzer^2.0\"\n ],\n \"type\" : \"best_fields\",\n \"operator\" : \"OR\",\n \"slop\" : 0,\n \"fuzziness\" : \"AUTO:5,10\",\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"minimum_should_match\" : \"50%\",\n \"tie_breaker\" : 0.3,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"fuzzy_transpositions\" : true,\n \"boost\" : 1.0\n }\n },\n {\n \"nested\" : {\n \"query\" : {\n \"bool\" : {\n \"should\" : [\n {\n \"match\" : {\n \"attributes.tspo_search_and_filter.variants.variantname\" : {\n \"query\" : \"\",\n \"operator\" : \"OR\",\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"fuzzy_transpositions\" : true,\n \"lenient\" : false,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"boost\" : 3.0\n }\n }\n }\n ],\n \"adjust_pure_negative\" : true,\n \"boost\" : 1.0\n }\n },\n \"path\" : \"attributes.tspo_search_and_filter.variants\",\n \"ignore_unmapped\" : false,\n \"score_mode\" : \"avg\",\n \"boost\" : 1.0\n }\n },\n {\n \"match\" : {\n \"attributes.tspo_search_and_filter.manufacturer_name_search_as_you_type\" : {\n \"query\" : \"\",\n \"operator\" : \"OR\",\n \"fuzziness\" : \"AUTO:4,8\",\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"fuzzy_transpositions\" : true,\n \"lenient\" : false,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"boost\" : 3.0\n }\n }\n },\n {\n \"multi_match\" : {\n \"query\" : \"\",\n \"fields\" : [\n \"attributes.tspo_search_and_filter.category_headline.*_analyzer^1.0\",\n \"attributes.tspo_search_and_filter.category_keywords.*_analyzer^5.0\",\n \"attributes.tspo_search_and_filter.category_meta_description.*_analyzer^3.0\",\n \"attributes.tspo_search_and_filter.category_name.*_analyzer^5.0\"\n ],\n \"type\" : \"best_fields\",\n \"operator\" : \"OR\",\n \"slop\" : 0,\n \"fuzziness\" : \"AUTO\",\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"minimum_should_match\" : \"50%\",\n \"tie_breaker\" : 0.3,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"fuzzy_transpositions\" : true,\n \"boost\" : 0.5\n }\n }\n ],\n \"adjust_pure_negative\" : true,\n \"minimum_should_match\" : \"1\",\n \"boost\" : 1.0\n }\n}","index_uuid":"c7rnT8UsTLa3GBbfwa8a9g","index":"sw_shop3_product_20240503102111","caused_by":{"type":"illegal_state_exception","reason":"[nested] nested object under path [attributes.tspo_search_and_filter.variants] is not of nested type"}}}]},"status":400} in /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:693 Stack trace: #0 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(333): Elasticsearch\Connections\Connection->process4xxError(Array, Array, Array) #1 /var/www/vendor/react/promise/src/FulfilledPromise.php(28): Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(Array) #2 /var/www/vendor/ezimuel/ringphp/src/Future/CompletedFutureValue.php(65): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL) #3 /var/www/vendor/ezimuel/ringphp/src/Core.php(341): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL) #4 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(345): GuzzleHttp\Ring\Core::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure)) #5 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(241): Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(Array, Object(Elasticsearch\Connections\Connection), Object(Elasticsearch\Transport), Array) #6 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(110): Elasticsearch\Connections\Connection->performRequest('POST', '/sw_shop3_produ...', Array, '{"query":{"bool...', Array, Object(Elasticsearch\Transport)) #7 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1929): Elasticsearch\Transport->performRequest('POST', '/sw_shop3_produ...', Array, Array, Array) #8 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1353): Elasticsearch\Client->performRequest(Object(Elasticsearch\Endpoints\Search)) #9 /var/www/vendor/shopware/shopware/engine/Shopware/Bundle/ESIndexingBundle/EsClientLogger.php(102): Elasticsearch\Client->search(Array) #10 /var/www/custom/project/TspoSearchAndFilter/Bundle/SearchBundleES/SearchGateway.php(152): Shopware\Bundle\ESIndexingBundle\EsClientLogger->search(Array) #11 /var/www/custom/project/TspoSearchAndFilter/Bundle/SearchBundleES/ProductSearchGateway.php(135): TspoSearchAndFilter\Bundle\SearchBundleES\SearchGateway->computeMatches(Object(Shopware\Bundle\StoreFrontBundle\Struct\Shop), 'product') #12 /var/www/custom/project/TspoSearchAndFilter/Bundle/SearchBundleES/Search.php(190): TspoSearchAndFilter\Bundle\SearchBundleES\ProductSearchGateway->isPerfectMatch() #13 /var/www/custom/project/TspoSearchAndFilter/Subscriber/Frontend.php(165): TspoSearchAndFilter\Bundle\SearchBundleES\Search->executeSearch('', false, true) #14 /var/www/custom/project/TspoSearchAndFilter/Subscriber/Frontend.php(130): TspoSearchAndFilter\Subscriber\Frontend->_performSearch(Object(Enlight_Controller_ActionEventArgs)) #15 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/Handler/Default.php(90): TspoSearchAndFilter\Subscriber\Frontend->onSearch(Object(Enlight_Controller_ActionEventArgs)) #16 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #17 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Action.php(203): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs)) #18 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('defaultSearchAc...') #19 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #20 /var/www/vendor/shopware/shopware/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch() #21 /var/www/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(AppKernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /var/www/vendor/shopware/shopware/engine/Shopware/Components/HttpCache/AppCache.php(270): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #24 /var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #25 /var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #26 /var/www/vendor/shopware/shopware/engine/Shopware/Components/HttpCache/AppCache.php(196): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #27 /var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #28 /var/www/vendor/shopware/shopware/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 /var/www/shopware.php(20): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #30 {main} thrown in /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 693