EXPERIMENTAL: Decrease strictness of text matching

This commit is contained in:
zkldi
2022-01-31 15:52:10 +00:00
parent dd0f7da724
commit 95a3e48b10
+1 -1
View File
@@ -47,7 +47,7 @@ export function SearchCollection<T>(
// sort by quality of match
{ $sort: { __textScore: -1 } },
// hide nonsense
{ $match: { __textScore: { $gt: 0.25 } } },
{ $match: { __textScore: { $gt: 0.05 } } },
{ $limit: limit },
])
.catch((err) => {