From 9041e80432984f64517556f1c3f69a1c78a21aa8 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Fri, 24 Jan 2025 14:40:05 +0530 Subject: [PATCH] Removed: deprecated productCategoryNames field from the queryField list when searching for products --- src/utils/solrHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/solrHelper.ts b/src/utils/solrHelper.ts index fb2432b3..72c235cd 100644 --- a/src/utils/solrHelper.ts +++ b/src/utils/solrHelper.ts @@ -16,7 +16,7 @@ const prepareProductQuery = (params: any) => { if (params.queryString) { payload.json.query = `*${params.queryString}* OR "${params.queryString}"^100` - payload.json.params['qf'] = params.queryFields ? params.queryFields : "sku^100 upc^100 productName^50 internalName^40 productId groupId groupName productCategoryNames" + payload.json.params['qf'] = params.queryFields ? params.queryFields : "sku^100 upc^100 productName^50 internalName^40 productId groupId groupName" payload.json.params['defType'] = "edismax" }