La búsqueda no está devolviendo un conjunto completo de productos de productos en Magento 1.13 EE (1.8 CE)

magento.stackexchange https://magento.stackexchange.com//questions/89438

Pregunta

Después de actualizar a 1.13 EE (1.8 CE), un conjunto completo de productos ya no aparece en los resultados de búsqueda.Los productos tienen visibilidad de 'Búsqueda' y la página de productos de este producto funciona bien en nuestra 1,12 EE (1.7 CE) y 1.13 instancias EE.La búsqueda funciona bien en 1.12 pero falla enteramente en 1.13. La fila está allí en el CATALOGSEARCH_FULLTEXT como se ve aquí:

SELECT * FROM catalogsearch_fulltext WHERE data_index LIKE '%3402-757%';
+------------+----------+---------------------------------------------------------------------+-------------+
| product_id | store_id | data_index                                                          | fulltext_id |
+------------+----------+---------------------------------------------------------------------+-------------+
|    2443712 |        1 | ARCTICCAT-3402-757|Taxable Goods|Arctic Cat|Arctic Cat - 3402-757   |   139705308 |
|            |          | - V BELT, DRIVE||Authentic V BELT, DRIVE from Arctic Cat (Part#:    |             |
|            |          | 3402-757). UPC: 886224105147|Authentic V BELT, DRIVE from Arctic    |             |
|            |          | Cat (Part#: 3402-757). UPC: 886224105147|194.72|1                   |             |
+------------+----------+---------------------------------------------------------------------+-------------+

¿Cambiaron algo con respecto a la búsqueda en 1.13 ¿Hay algo más que me estoy perdiendo aquí?

¿Fue útil?

Solución

PATCH_SUPEE-4937_EE_1.13.1.0_v1.sh hizo el truco

__PATCHFILE_FOLLOWS__
diff --git app/code/core/Enterprise/Catalog/Model/Index/Action/Catalog/Category/Product/Refresh.php app/code/core/Enterprise/Catalog/Model/Index/Action/Catalog/Category/Product/Refresh.php
index ff9883a..452f1a5 100644
--- app/code/core/Enterprise/Catalog/Model/Index/Action/Catalog/Category/Product/Refresh.php
+++ app/code/core/Enterprise/Catalog/Model/Index/Action/Catalog/Category/Product/Refresh.php
@@ -554,13 +554,6 @@ class Enterprise_Catalog_Model_Index_Action_Catalog_Category_Product_Refresh
                     $this->_connection->getIfNullSql('cpss.value', 'cpsd.value') . ' = ?',
                     Mage_Catalog_Model_Product_Status::STATUS_ENABLED
                 )
-                ->where(
-                    $this->_connection->getIfNullSql('cpvs.value', 'cpvd.value') . ' IN (?)',
-                    array(
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
-                    )
-                )
                 ->columns(
                     array(
                         'category_id'   => 'cc.entity_id',
@@ -698,13 +691,6 @@ class Enterprise_Catalog_Model_Index_Action_Catalog_Category_Product_Refresh
                     Mage_Catalog_Model_Product_Status::STATUS_ENABLED
                 )
                 ->where(
-                    $this->_connection->getIfNullSql('cpvs.value', 'cpvd.value') . ' IN (?)',
-                    array(
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
-                    )
-                )
-                ->where(
                     $this->_connection->getIfNullSql('ccas.value', 'ccad.value') . ' = ?',
                     1
                 )
@@ -805,13 +791,6 @@ class Enterprise_Catalog_Model_Index_Action_Catalog_Category_Product_Refresh
                     $this->_connection->getIfNullSql('cpss.value', 'cpsd.value') . ' = ?',
                     Mage_Catalog_Model_Product_Status::STATUS_ENABLED
                 )
-                ->where(
-                    $this->_connection->getIfNullSql('cpvs.value', 'cpvd.value') . ' IN (?)',
-                    array(
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
-                    )
-                )
                 ->group('cp.entity_id')
                 ->columns(
                     array(

Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange
scroll top