mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-01 03:18:06 +03:00
Revert "EXPERIMENTAL: Decrease strictness of text matching"
This reverts commit 95a3e48b10.
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user