switch comparison to simple fts configuration
gitea/wcs/pipeline/head There was a failure building this commit
Details
gitea/wcs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
ad6044cf60
commit
2bc52f9ccd
|
@ -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 < 0.7 AND word not similar to '%[0-9]{2,}%'
|
||||
LEFT JOIN wcs_search_tokens AS partial ON partial.token <-> plainto_tsquery('simple', word)::text < 0.7 AND word not similar to '%[0-9]{2,}%'
|
||||
GROUP BY word)
|
||||
SELECT tsquery_agg_and(tokens) FROM super_tokenized;
|
||||
$function$;"""
|
||||
|
|
Loading…
Reference in New Issue