Use substring search here

We have no motivation to test Whoosh lexer here.

Signed-off-by: Michal Čihař <michal@cihar.com>