Skip to content

Commit

Permalink
Merge pull request #664 from ymaheshwari1/#fix/remove-deprecated-prod…
Browse files Browse the repository at this point in the history
…uct-field

Removed: deprecated productCategoryNames field from the queryField list when searching for products
  • Loading branch information
ravilodhi authored Jan 24, 2025
2 parents 2cc3eae + 9041e80 commit ae47305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/solrHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit ae47305

Please sign in to comment.