Remove hard limit on search endpoints

This commit is contained in:
Mouse Reeve 2021-10-03 09:38:41 -07:00
parent ca7967a3a3
commit 7d8cd99926

View file

@ -101,7 +101,7 @@ def user_search(query, viewer, *_):
.filter(
similarity__gt=0.5,
)
.order_by("-similarity")[:10]
.order_by("-similarity")
), None
@ -122,5 +122,5 @@ def list_search(query, viewer, *_):
.filter(
similarity__gt=0.1,
)
.order_by("-similarity")[:10]
.order_by("-similarity")
), None