org.elasticsearch.indices.IndexMissingException: [product_de_default] missing

215 views
Skip to first unread message

David

unread,
Feb 6, 2016, 6:53:42 AM2/6/16
to Shopizer
Hi,

i need a german shop, so i've overridden com.salesmanager.core.business.reference.init.service.InitializationDatabaseImpl and set language to de and country to DE.

I've written a product import based on com.salesmanager.web.init.data.InitStoreData.

But when i create my products via com.salesmanager.core.business.generic.service.SalesManagerEntityService.create(Product), i get:

ERROR: com.shopizer.search.services.worker.ObjectIndexerImpl - Exception while indexing a product, maybe a timing ussue for no shards available
org
.elasticsearch.indices.IndexMissingException: [product_de_default] missing
 at org
.elasticsearch.cluster.metadata.MetaData.concreteIndex(MetaData.java:616)
 at org
.elasticsearch.action.get.TransportGetAction.resolveRequest(TransportGetAction.java:90)
 at org
.elasticsearch.action.get.TransportGetAction.resolveRequest(TransportGetAction.java:42)
 at org
.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction$AsyncSingleAction.<init>(TransportShardSingleOperationAction.java:114)
 at org
.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction$AsyncSingleAction.<init>(TransportShardSingleOperationAction.java:94)
 at org
.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction.doExecute(TransportShardSingleOperationAction.java:71)
 at org
.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction.doExecute(TransportShardSingleOperationAction.java:46)
 at org
.elasticsearch.action.support.TransportAction.execute(TransportAction.java:61)
 at org
.elasticsearch.client.node.NodeClient.execute(NodeClient.java:92)
 at org
.elasticsearch.client.support.AbstractClient.get(AbstractClient.java:179)
 at org
.elasticsearch.action.get.GetRequestBuilder.doExecute(GetRequestBuilder.java:112)
 at org
.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:62)
 at org
.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:57)
 at com
.shopizer.search.services.impl.SearchDelegateImpl.getObject(SearchDelegateImpl.java:298)
 at com
.shopizer.search.services.worker.ObjectIndexerImpl.execute(ObjectIndexerImpl.java:118)
 at com
.shopizer.search.services.workflow.IndexWorkflow.index(IndexWorkflow.java:51)
 at com
.shopizer.search.services.SearchService.index(SearchService.java:84)
 at com
.salesmanager.core.business.search.service.SearchServiceImpl.index(SearchServiceImpl.java:148)
 at com
.salesmanager.core.business.catalog.product.service.ProductServiceImpl.create(ProductServiceImpl.java:235)
 at com
.salesmanager.core.business.catalog.product.service.ProductServiceImpl.create(ProductServiceImpl.java:44)


I've seen somewhere that for elasticserch a product_en_default is created when use the default testdata populator, but i don't know how to handle it.

Furthermore, when i do a search in the frontend after populating my own products, i can not find anything.

How can i fix that?

Shopizer 2.0.2 uses elasticsearch version 0.90.2 and infinispan version 5.1.6 which are pretty old versions and not supported anymore.

Are you guys planing to update these components in the next release?


Kind regards
David

hsriv...@goalsr.com

unread,
May 4, 2016, 6:26:35 AM5/4/16
to Shopizer
Hi David,

I am also getting this issue, did u found the solution for this....? request you to please reply asap.

Thanks

Kind Regards
Harsh

deya...@gmail.com

unread,
May 27, 2017, 2:38:07 AM5/27/17
to Shopizer
Hi David,
Here the issue is that object indexing is configured only for default store with en and fr languages only. You can find the references in shopizer-search.xml. Look out for 'productindex_en_defaultstore'. If you add one for 'de' it should work

Regards,
Ankush Dey

Reply all
Reply to author
Forward
0 new messages