added the ability to search by artist name

This commit is contained in:
Zach Harding
2026-04-07 08:07:47 -04:00
parent c03a0b36a0
commit 85cfd1de64

View File

@@ -156,10 +156,10 @@ if (start === 0) {
const searchRequests = { searches: searchArray };
const commonSearchParams = {
q: resolvedQuery,
query_by: 'content,setName,setCode,productName',
query_by_weights: '10,6,8,9',
num_typos: '2,1,0,1',
prefix: 'true,true,false,false',
query_by: 'content,setName,setCode,productName,Artist',
query_by_weights: '10,6,8,9,8',
num_typos: '2,1,0,1,2',
prefix: 'true,true,false,false,false',
};
// use typesense to search for cards matching the query and return the productIds of the results