summaryrefslogtreecommitdiff
path: root/src/libtracker-sparql/tracker-statement.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2023-03-20 11:20:56 +0100
committerCarlos Garnacho <carlosg@gnome.org>2023-03-20 16:34:50 +0100
commit4216d7d1fbe44eeb81f73eac63d32b64cdf46ed3 (patch)
tree88f989f60d4b702697b19b1a72b3aa32e1f7f722 /src/libtracker-sparql/tracker-statement.c
parent4e0c7c752728943223671677e2667cdbad0adbde (diff)
downloadtracker-4216d7d1fbe44eeb81f73eac63d32b64cdf46ed3.tar.gz
core: Handle FTS search terms individually
Commit da9eb9a07c hid the internal FTS syntax as an implementation detail, but it did so by making the full search string a single term, so multiple input words had to also appear consecutively in the searched text to be considered a match. Bring back the flexibility in order/distance of the looked up words by using a SQLite helper function to split FTS search terms. This still results in the FTS syntax being hidden away, but splits the input words so that each becomes its own search term. Fixes: da9eb9a07c ("libtracker-data: Do not expose FTS5 syntax through fts:match")
Diffstat (limited to 'src/libtracker-sparql/tracker-statement.c')
0 files changed, 0 insertions, 0 deletions