added the ability to search by artist name
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user