sql: new FTS mechanism with fuzzy match #1201

Merged
pducroquet merged 3 commits from wip/86527-better-fts into main 2024-04-29 09:27:59 +02:00

3 Commits

Author SHA1 Message Date
Pierre Ducroquet 9f23205882 sql: test purge of search tokens (#86527)
gitea/wcs/pipeline/head This commit looks good Details
2024-04-29 08:53:55 +02:00
Pierre Ducroquet f2bc14827b wcs_search_tokens: new FTS mechanism with fuzzy-match (#86527)
introduce a new mechanism to implement FTS with fuzzy-match.
This is made possible by adding and maintaining a table of the
FTS tokens, wcs_search_tokens, fed with searchable_formdefs
and wcs_all_forms.
When a query is issued, its tokens are matched against the
tokens with a fuzzy match when no direct match is found, and
the query is then rebuilt.
2024-04-29 08:53:53 +02:00
Pierre Ducroquet d973827ab9 tests: add a test for new FTS on formdefs (#86527) 2024-04-29 08:51:09 +02:00