Fix #994: use PostgreSQL full-text-search

This commit is contained in:
Eliot Berriot 2019-12-16 17:46:32 +01:00
parent 8f0eabcb71
commit b3d8d6a4da
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
6 changed files with 148 additions and 5 deletions

View file

@ -4,7 +4,11 @@ import magic
import mutagen
import pydub
from funkwhale_api.common.search import normalize_query, get_query # noqa
from funkwhale_api.common.search import (
normalize_query,
get_query,
get_fts_query,
) # noqa
def guess_mimetype(f):