Skip to content
Commit c8d1b7ca authored by Stefan Brüns's avatar Stefan Brüns
Browse files

[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.

CCBUG:407664
parent fc387476
Pipeline #434370 passed with stage
in 1 minute and 34 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment