https://bugs.kde.org/show_bug.cgi?id=407664

--- Comment #10 from Stefan Brüns <stefan.bru...@rwth-aachen.de> ---
Git commit c8d1b7cabcc810867f400e5ccfb96e41b03e0635 by Stefan Brüns.
Committed on 10/07/2023 at 15:22.
Pushed by bruns into branch 'master'.

[QueryTest] Add test case for terms folded to empty strings

The termgenerator removes leading, trailing and isolated punctuation
characters. While this is no problem for leading or trailing punctuation
as the normalized term is still non-empty, isolated punctuation ends up
as an empty string.

The matcher then tries to find e.g. "(content:'' OR filename:'')", which
returns not results, instead of the exptedted "everything". Unfortunately
it is non-trivial to remove such Terms.

For the prase test, this is not at problem, as it always sees the whole
phrase and can just skip the problematic part.

M  +15   -0    autotests/integration/querytest.cpp

https://invent.kde.org/frameworks/baloo/-/commit/c8d1b7cabcc810867f400e5ccfb96e41b03e0635

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to