Full-text search using postgresql #162

Merged
Oleg-Komarov merged 10 commits from fts into main 2024-06-03 20:07:23 +02:00
Showing only changes of commit 4e9e91791f - Show all commits

View File

@ -112,7 +112,7 @@ class SearchView(ListedExtensionsView):
# WARNING: full-text search support only on postgres # WARNING: full-text search support only on postgres
# using DEBUG as a shortcut for checking if we run on postgres vs sqlite # using DEBUG as a shortcut for checking if we run on postgres vs sqlite
if settings.DEBUG and 0: if settings.DEBUG:
filter = Q() filter = Q()
for token in search_query.split(): for token in search_query.split():
filter &= ( filter &= (