I've a docker-setup:
Magento 1.9
Elasticsearch-Container: 6.4.2
Elastico: 1.7
by any search getting this Error:
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"magento","index_uuid":"na","index":"magento"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"magento","index_uuid":"na","index":"magento"},"status":404}
I've a docker-setup: Magento 1.9 Elasticsearch-Container: 6.4.2 Elastico: 1.7
by any search getting this Error:
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"magento","index_uuid":"na","index":"magento"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"magento","index_uuid":"na","index":"magento"},"status":404}
Trace:
0 /app/public/lib/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php(194): Elasticsearch\Connections\GuzzleConnection->process4xxError(Object(Guzzle\Http\Message\Request), Object(Guzzle\Http\Exception\ClientErrorResponseException), NULL)
1 /app/public/lib/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php(104): Elasticsearch\Connections\GuzzleConnection->sendRequest(Object(Guzzle\Http\Message\Request), NULL)
2 /app/public/lib/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(165): Elasticsearch\Connections\GuzzleConnection->performRequest('GET', 'http://elastics...', Array, NULL)
3 /app/public/lib/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/AbstractEndpoint.php(85): Elasticsearch\Transport->performRequest('GET', '/magento/_stats', Array, NULL)
4 /app/public/lib/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/IndicesNamespace.php(216): Elasticsearch\Endpoints\AbstractEndpoint->performRequest()
5 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch/Index.php(147): Elasticsearch\Namespaces\IndicesNamespace->stats(Array)
6 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch/Query/Fulltext.php(482): Smile_ElasticSearch_Model_Resource_Engine_Elasticsearch_Index->getStatus()
7 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch/Query/Fulltext.php(445): Smile_ElasticSearch_Model_Resource_Engine_Elasticsearch_Query_Fulltext->_getTermVectors('hallo', 'spelling_de', Array)
8 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch/Query/Fulltext.php(412): Smile_ElasticSearch_Model_Resource_Engine_Elasticsearch_Query_Fulltext->_getQueryTermStats('hallo')
9 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch/Query/Fulltext.php(160): Smile_ElasticSearch_Model_Resource_Engine_Elasticsearch_Query_Fulltext->_analyzeSpelling('hallo')
10 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch/Query/Abstract.php(393): Smile_ElasticSearch_Model_Resource_Engine_Elasticsearch_Query_Fulltext->_prepareFulltextCondition()
11 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch/Query/Abstract.php(206): Smile_ElasticSearch_Model_Resource_Engine_Elasticsearch_Query_Abstract->_assembleQuery()
12 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Catalog/Product/Collection.php(323): Smile_ElasticSearch_Model_Resource_Engine_Elasticsearch_Query_Abstract->search()
13 /app/public/app/code/community/Smile/ElasticSearch/Model/Resource/Catalog/Product/Collection.php(338): Smile_ElasticSearch_Model_Resource_Catalog_Product_Collection->getProductCountBySetId()
14 /app/public/app/code/core/Mage/Catalog/Model/Layer.php(290): Smile_ElasticSearch_Model_Resource_Catalog_Product_Collection->getSetIds()
15 /app/public/app/code/community/Smile/ElasticSearch/Model/Catalogsearch/Layer.php(78): Mage_Catalog_Model_Layer->_getSetIds()
16 /app/public/app/code/community/Smile/ElasticSearch/Block/Catalog/Layer/View.php(138): Smile_ElasticSearch_Model_Catalogsearch_Layer->getFilterableAttributes()
17 /app/public/app/code/community/Smile/ElasticSearch/Block/Catalog/Layer/View.php(171): Smile_ElasticSearch_Block_Catalog_Layer_View->_getFilterableAttributes()
18 /app/public/app/code/core/Mage/Core/Block/Abstract.php(297): Smile_ElasticSearch_Block_Catalog_Layer_View->_prepareLayout()
19 /app/public/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
20 /app/public/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('smile_elasticse...', 'smile.elaticsea...')
21 /app/public/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('smile_elasticse...', 'smile.elaticsea...')
22 /app/public/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
23 /app/public/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
24 /app/public/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
25 /app/public/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
26 /app/public/app/code/core/Mage/CatalogSearch/controllers/ResultController.php(77): Mage_Core_Controller_Varien_Action->loadLayout()
27 /app/public/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_CatalogSearch_ResultController->indexAction()
28 /app/public/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
29 /app/public/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
30 /app/public/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
31 /app/public/app/Mage.php(683): Mage_Core_Model_App->run(Array)
32 /app/public/index.php(83): Mage::run('', 'store')
33 {main}