Revert "EXPERIMENTAL: Decrease strictness of text matching"

This reverts commit 95a3e48b10.
This commit is contained in:
zkldi
2022-01-31 16:07:46 +00:00
parent 95a3e48b10
commit bbd6f84783
+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.05 } } },
{ $match: { __textScore: { $gt: 0.25 } } },
{ $limit: limit },
])
.catch((err) => {