when I search any product in top search I get error in Magento.I searched lot in stack over flow and Magento stack exchange but all that solution is not worked in my case.
for ex : if I search "dell laptop" and hit enter it go to error page and error is below.
a:5:{i:0;s:494:" SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query, query was: INSERT INTO
catalogsearch_result
SELECT 2992 ASquery_id
,s
.product_id
, MATCH (s.data_index) AGAINST (:query IN BOOLEAN MODE) ASrelevance
FROMcatalogsearch_fulltext
ASs
INNER JOINcatalog_product_entity
ASe
ON e.entity_id = s.product_id WHERE (s.store_id = 1) AND (MATCH (s.data_index) AGAINST (:query IN BOOLEAN MODE)) ON DUPLICATE KEY UPDATErelevance
= VALUES(relevance
) ";i:1;s:4001:"`
I also truncate all log tables but it's also not working in my case.
so if you guys have any other solution please share with me.
var/cache
floder and than try