You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Adjust the similarity threshold as needed (between 0 and 1)
380
-
word_similarity(#{query}, doc.name) >= 0.5
379
+
-- We may wish to adjust the similarity threshold before the query.
380
+
#{query} <% doc.name
381
381
AND (NOT p.private OR (#{mayCaller} IS NOT NULL AND EXISTS (SELECT FROM accessible_private_projects pp WHERE pp.user_id = #{mayCaller} AND pp.project_id = p.id)))
382
382
^{filters}
383
383
ORDER BY doc.project_id, doc.name, r.major_version, r.minor_version, r.patch_version
0 commit comments