In function createKeysQuery() of file includes/service.inc there are 2 strings, line 893:
$ngrams = fuzzysearch_parse_word($word, $fuzzy);
and line 921:
$ngrams = fuzzysearch_parse_word($word, $fuzzy['nlength']);

So second call of this function send wrong $fuzzy data to function, and this problem break search results (I see a lot of non-relevant results). If I fix second line to this:
$ngrams = fuzzysearch_parse_word($word, $fuzzy);
all goes to work well.

CommentFileSizeAuthor
#1 fuzzysearch_1549682.patch650 bytesmurz

Comments

murz’s picture

Status: Active » Needs review
StatusFileSize
new650 bytes

Here is the patch that fixes problem.

awolfey’s picture

Status: Needs review » Closed (fixed)

Commited, thanks Murz!