Here attaches my query param, i feel it has smth t...
# community-help
l
Here attaches my query param, i feel it has smth to do with my score calculationm, but I also curious does typesense correct both typos in two tokens seperately and treat them as two tokens tgt?
Copy code
const searchParams = {
		q: query || '*',
        include_fields: [
			'merchant_name',
			'product_name',
		],
		query_by: 'merchant_name,product_name',
		query_by_weights: '3,3', 
		text_match_type: 'sum_score',
        prioritize_num_matching_fields: false,
        prioritize_exact_match: true,
		typos: true,
        min_len_2typo: 5,
        min_len_1typo: 3,
		num_typos: 2,
        drop_tokens_threshold: 1,
	};