magento1-vsbridge-indexer icon indicating copy to clipboard operation
magento1-vsbridge-indexer copied to clipboard

Indexing products fails with Magento 1.9

Open sudarshann opened this issue 3 years ago • 1 comments

When I try to run the indexing with the vsf_tools.php I get this error . This happens for all products. But all other index are inserted perfectly

In this line https://github.com/DivanteLtd/magento1-vsbridge-indexer/blob/develop/src/app/code/community/Divante/VueStorefrontIndexer/Model/Elasticsearch/Indexer/Handler.php#L232

 [1] => Array
                        (
                            [index] => Array
                                (
                                    [_index] => vue_storefront_magento_10_1596536487
                                    [_type] => product
                                    [_id] => 6757
                                    [status] => 400
                                    [error] => Array
                                        (
                                            [type] => illegal_argument_exception
                                            [reason] => mapper [attributes_metadata.options.value] of different type, current_type [long], merged_type [text]
                                        )

                                )

                        )

Here is the print of the request that is sent

https://gist.github.com/sudarshann/793552c6d85e37d3a494e26c131bd6e7

sudarshann avatar Aug 04 '20 12:08 sudarshann