aboutsummaryrefslogtreecommitdiff
path: root/lib/query.cc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-08-24 08:17:22 -0700
committerDavid Bremner <david@tethera.net>2021-09-04 17:07:19 -0700
commit90d9c2ad5c459624d17f92d0844e7a7fbb87d7a2 (patch)
tree3c511cbadac8d876127f15102d73f4c2d12a598e /lib/query.cc
parent48ad0e1ff350a35dd0af6a1892edf27aa5115927 (diff)
lib/parse-sexp: support phrase queries.
Anything that is quoted or not purely word characters is considered a phrase. Phrases are not stemmed, because the stems do not have positional information in the database. It is less efficient to scan the term twice, but it avoids a second pass to add prefixes, so maybe it balances out. In any case, it seems unlikely query parsing is very often a bottleneck.
Diffstat (limited to 'lib/query.cc')
0 files changed, 0 insertions, 0 deletions