Open jg-development opened 7 years ago
Afaik, this extension works with elasticsearch 1.5, don't know if 1.7 is supposed to work.
I will test it with 1.5 and try again
I had the same issue, it was not easy to find where the issue was...
We (@elzekool and I) had a long look at the plugin and adding the following code to an observer method listening for the search_engine_product_mapping_properties
event made it work (after re-indexing).
/**
* Update the mapping for the sku index
*
* @param Varien_Event_Observer $event
* @event search_engine_product_mapping_properties
* @return void
*/
public function updateSkuIndexMapping($event)
{
/** @var Varien_Object $mapping */
$mapping = $event->getData('mapping');
$mappingData = $mapping->getData('properties');
$mappingData['sku']['index'] = 'not_analyzed';
$mappingData['sku']['store'] = true;
$mappingData['sku']['fielddata']['format'] = 'doc_values';
$mapping->setData('properties', $mappingData);
}
thx I will try that and give you feedback
Hi, I successfully integrated the extension with my magento shop (great extension thx). But I after I added the sku attribute as searchable in the backend all my ajax searches results in errors.
The query from the logs is:
Does anybody have an idea, what the problem is? I use elasticsearch 1.7.6
Greetings Jan