{"action":"created","issue":{"url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/173","repository_url":"https://api.github.com/repos/Smile-SA/elasticsuite","labels_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/173/comments","events_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/173/events","html_url":"https://github.com/Smile-SA/elasticsuite/issues/173","id":183631124,"number":173,"title":"Exception: catalog_product index does not exist yet.","user":{"login":"diybook","id":3702595,"avatar_url":"https://avatars.githubusercontent.com/u/3702595?v=3","gravatar_id":"","url":"https://api.github.com/users/diybook","html_url":"https://github.com/diybook","followers_url":"https://api.github.com/users/diybook/followers","following_url":"https://api.github.com/users/diybook/following{/other_user}","gists_url":"https://api.github.com/users/diybook/gists{/gist_id}","starred_url":"https://api.github.com/users/diybook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diybook/subscriptions","organizations_url":"https://api.github.com/users/diybook/orgs","repos_url":"https://api.github.com/users/diybook/repos","events_url":"https://api.github.com/users/diybook/events{/privacy}","received_events_url":"https://api.github.com/users/diybook/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Smile-SA/elasticsuite/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-10-18T09:14:28Z","updated_at":"2016-10-22T20:17:30Z","closed_at":"2016-10-20T09:48:18Z","body":"Hi Romain, thanks for introducing elasticsearch to me in the post https://github.com/magento/magento2/issues/7027. I think the elasticsuite is really greath and wanted to try it myself. \r\n\r\nI´ve installed the ElasticSearch server as well as the magento module but getting the following errors on the frontend. \r\n\r\n`1 exception(s):\r\nException #0 (LogicException): catalog_product index does not exist yet. Make sure everything is reindexed\r\n\r\nException #0 (LogicException): catalog_product index does not exist yet. Make sure everything is reindexed\r\n#0 /var/www/diyparts.staging/diyparts_dev/vendor/smile/elasticsuite/src/module-elasticsuite-catalog-rule/Model/Rule/Condition/Product/AttributeList.php(166): Smile\\ElasticsuiteCore\\Index\\IndexOperation->getIndexByName('catalog_product', Object(Magento\\Store\\Model\\Store\\Interceptor))\r\n#1 /var/www/diyparts.staging/diyparts_dev/vendor/smile/elasticsuite/src/module-elasticsuite-catalog-rule/Model/Rule/Condition/Product/AttributeList.php(108): Smile\\ElasticsuiteCatalogRule\\Model\\Rule\\Condition\\Product\\AttributeList->getMapping()\r\n#2 /var/www/diyparts.staging/diyparts_dev/vendor/smile/elasticsuite/src/module-elasticsuite-catalog-rule/Model/Rule/Condition/Product.php(77): Smile\\ElasticsuiteCatalogRule\\Model\\Rule\\Condition\\Product`\r\n\r\nReindexing does not help, so I've no clue how to further go on. Maybe you know what to do.\r\nInstalled Magento version: 2.1.0\r\nusing Elasticsuite version 2.2.0\r\n\r\nI've updated to Magento version: 2.1.1\r\nusing Elasticsuite version 2.2.2 showing the same error."},"comment":{"url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/comments/255551361","html_url":"https://github.com/Smile-SA/elasticsuite/issues/173#issuecomment-255551361","issue_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/173","id":255551361,"user":{"login":"diybook","id":3702595,"avatar_url":"https://avatars.githubusercontent.com/u/3702595?v=3","gravatar_id":"","url":"https://api.github.com/users/diybook","html_url":"https://github.com/diybook","followers_url":"https://api.github.com/users/diybook/followers","following_url":"https://api.github.com/users/diybook/following{/other_user}","gists_url":"https://api.github.com/users/diybook/gists{/gist_id}","starred_url":"https://api.github.com/users/diybook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diybook/subscriptions","organizations_url":"https://api.github.com/users/diybook/orgs","repos_url":"https://api.github.com/users/diybook/repos","events_url":"https://api.github.com/users/diybook/events{/privacy}","received_events_url":"https://api.github.com/users/diybook/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T20:17:30Z","updated_at":"2016-10-22T20:17:30Z","body":"Hi I gave it another try. What I found out is that the server is running and working as intended. Plugins are installed and working. Reindexing do not show any error. \r\n\r\nBut the systemlog of magento shows the following error: \r\n`[2016-10-22 19:42:25] main.WARNING: Request Failure: {\"method\":\"HEAD\",\"uri\":\"http://localhost:9200/magento2_repariersdoch_at_catalog_product\",\"headers\":{\"host\":[\"localhost:9200\"]},\"HTTP code\":404,\"duration\":0.003469,\"error\":\"\"} []\r\n[2016-10-22 19:42:25] main.WARNING: Response [null] []`\r\n\r\nI have no idea why the requestet index is not generated.  The elasticsearch log shows the folloging lines:\r\n\r\n`[2016-10-22 21:17:03,013][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_default_at_catalog_category_20161018_120745][0]] ...]).\r\n[2016-10-22 21:46:52,531][INFO ][cluster.metadata         ] [Ultimo] [magento2_repariersdoch_at_catalog_category_20161022_194652] creating index, cause [api], templates [], shards [1]/[0], mappings [category]\r\n[2016-10-22 21:46:52,788][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_repariersdoch_at_catalog_category_20161022_194652][0]] ...]).\r\n[2016-10-22 21:46:55,633][INFO ][cluster.metadata         ] [Ultimo] updating number_of_replicas to [0] for indices [magento2_repariersdoch_at_catalog_category_20161022_194652]\r\n[2016-10-22 21:46:55,643][INFO ][index.shard              ] [Ultimo] [magento2_repariersdoch_at_catalog_category_20161022_194652][0] updating refresh_interval from [10s] to [1s]\r\n[2016-10-22 21:46:55,778][INFO ][cluster.metadata         ] [Ultimo] [magento2_repariersdoch_de_catalog_category_20161022_194655] creating index, cause [api], templates [], shards [1]/[0], mappings [category]\r\n[2016-10-22 21:46:55,901][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_repariersdoch_de_catalog_category_20161022_194655][0]] ...]).\r\n[2016-10-22 21:46:56,875][INFO ][cluster.metadata         ] [Ultimo] updating number_of_replicas to [0] for indices [magento2_repariersdoch_de_catalog_category_20161022_194655]\r\n[2016-10-22 21:46:56,877][INFO ][index.shard              ] [Ultimo] [magento2_repariersdoch_de_catalog_category_20161022_194655][0] updating refresh_interval from [10s] to [1s]\r\n[2016-10-22 21:46:56,972][INFO ][cluster.metadata         ] [Ultimo] [magento2_diyparts_at_catalog_category_20161022_194656] creating index, cause [api], templates [], shards [1]/[0], mappings [category]\r\n[2016-10-22 21:46:57,073][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_diyparts_at_catalog_category_20161022_194656][0]] ...]).\r\n[2016-10-22 21:46:57,130][INFO ][cluster.metadata         ] [Ultimo] updating number_of_replicas to [0] for indices [magento2_diyparts_at_catalog_category_20161022_194656]\r\n[2016-10-22 21:46:57,134][INFO ][index.shard              ] [Ultimo] [magento2_diyparts_at_catalog_category_20161022_194656][0] updating refresh_interval from [10s] to [1s]\r\n[2016-10-22 21:46:57,213][INFO ][cluster.metadata         ] [Ultimo] [magento2_default_ch_catalog_category_20161022_194657] creating index, cause [api], templates [], shards [1]/[0], mappings [category]\r\n[2016-10-22 21:46:57,297][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_default_ch_catalog_category_20161022_194657][0]] ...]).\r\n[2016-10-22 21:46:57,351][INFO ][cluster.metadata         ] [Ultimo] updating number_of_replicas to [0] for indices [magento2_default_ch_catalog_category_20161022_194657]\r\n[2016-10-22 21:46:57,353][INFO ][index.shard              ] [Ultimo] [magento2_default_ch_catalog_category_20161022_194657][0] updating refresh_interval from [10s] to [1s]\r\n[2016-10-22 21:46:57,431][INFO ][cluster.metadata         ] [Ultimo] [magento2_repariersdoch_at_thesaurus_20161022_194657] creating index, cause [api], templates [], shards [1]/[0], mappings []\r\n[2016-10-22 21:46:57,562][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_repariersdoch_at_thesaurus_20161022_194657][0]] ...]).\r\n[2016-10-22 21:46:57,597][INFO ][cluster.metadata         ] [Ultimo] [magento2_repariersdoch_de_thesaurus_20161022_194657] creating index, cause [api], templates [], shards [1]/[0], mappings []\r\n[2016-10-22 21:46:57,654][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_repariersdoch_de_thesaurus_20161022_194657][0]] ...]).\r\n[2016-10-22 21:46:57,689][INFO ][cluster.metadata         ] [Ultimo] [magento2_diyparts_at_thesaurus_20161022_194657] creating index, cause [api], templates [], shards [1]/[0], mappings []\r\n[2016-10-22 21:46:57,739][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_diyparts_at_thesaurus_20161022_194657][0]] ...]).\r\n[2016-10-22 21:46:57,780][INFO ][cluster.metadata         ] [Ultimo] [magento2_default_ch_thesaurus_20161022_194657] creating index, cause [api], templates [], shards [1]/[0], mappings []\r\n[2016-10-22 21:46:57,832][INFO ][cluster.routing.allocation] [Ultimo] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[magento2_default_ch_thesaurus_20161022_194657][0]] ...]).`\r\n\r\nNo indexes for catalog_product are generated. But why? There are 5 products in the database? Any Ideas? Maybe there is something wrong with the database. \r\n\r\nThe default main category is empty because we use another main category for the configured shops. But the configuration is ok, because magento is working correct in this setup. How can I find out why the catalog_product index is not there?\r\n\r\nBest regards, \r\nGerald\r\n"}}
{"actor":{"display_login":"diybook"}}