Skip to content

Commit

Permalink
feat(elastic-search): Equal weights for e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvdbrug committed Dec 21, 2024
1 parent 863b154 commit 5f27369
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ describe('Elasticsearch plugin', () => {
},
},
},
boostFields: {
description: 1,
productName: 1,
productVariantName: 1,
sku: 1,
},
mapSort: (sort, input) => {
const priority = (input.sort as any)?.priority;
if (priority) {
Expand Down

0 comments on commit 5f27369

Please sign in to comment.