Skip to content

The FuzzyWord QueryBuilder double Levenshtein Distance  #11

Closed
@MacFJA

Description

@MacFJA
(new \MacFJA\RediSearch\Search\QueryBuilder\FuzzyWord('hello'))->render();

Should return %hello%, instead it return %%hello%%

The error is here:

return sprintf('%1$s%2$s%1$s', str_repeat('%%', $this->levenshteinDistance), EscapeHelper::escapeFuzzy($this->word));

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions