on 07-07-2014 4:11 PM
We're getting an error while launching the delete-marketIndex-cronJob on a freshly created site with the accelerator.
at de.hybris.platform.solrfacetsearch.indexer.strategies.AbstractIndexStrategy.getIndexerQuery(AbstractIndexStrategy.java:184) at de.hybris.platform.solrfacetsearch.indexer.strategies.AbstractIndexStrategy.execute(AbstractIndexStrategy.java:142) at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerService.deleteFromIndex(DefaultIndexerService.java:92) at de.hybris.platform.solrfacetsearch.indexer.cron.SolrIndexerJob.performIndexingJob(SolrIndexerJob.java:70) at de.hybris.platform.solrfacetsearch.indexer.cron.AbstractIndexerJob.perform(AbstractIndexerJob.java:41) at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:40) at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1297) at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:815) at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:772) at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:677) at de.hybris.platform.util.threadpool.PoolableThread.run(PoolableThread.java:198) Is there some configuration we're missing? UPDATE: It seems that we have found where to add a new query to solr indexer, it is in the solr.impex file in the initialdata project. ;$solrIndexedType;$searchIndexNamePrefix-deleteQuery;delete;;;false;"SELECT {p:PK} FROM {Product AS p} WHERE {p:varianttype} IS NULL";anonymousde.hybris.platform.solrfacetsearch.indexer.exceptions.UndefinedIndexerQuery: DELETE query not defined in configuration.
Out of the box with the Accelerator a Delete query is not provided for the SolrIndexedType.
What kind of criteria do you have in mind to delete products as theres a few gotcha's you might need to consider?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.