investigating...
gitea/wcs/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pierre Ducroquet 2024-04-09 17:12:53 +02:00
parent 7f535cdfbe
commit 8c03da88d6
1 changed files with 1 additions and 1 deletions

View File

@ -1791,7 +1791,7 @@ WITH
tsquery_agg_or(plainto_tsquery(partial.token)),
plainto_tsquery(word)) AS tokens
FROM tokenized
LEFT JOIN wcs_search_tokens AS partial ON partial.token % plainto_tsquery(word)::text AND word not similar to '%[0-9]{2,}%'
LEFT JOIN wcs_search_tokens AS partial ON partial.token <-> plainto_tsquery(word)::text < 0.7 AND word not similar to '%[0-9]{2,}%'
GROUP BY word)
SELECT tsquery_agg_and(tokens) FROM super_tokenized;
$function$;"""