teamtnt / tntsearch

A fully featured full text search engine written in PHP
https://tnt.studio/solving-the-search-problem-with-laravel-and-tntsearch
MIT License
3.1k stars 291 forks source link

docs: fix fuzziness method example #305

Closed alaminfirdows closed 11 months ago

alaminfirdows commented 11 months ago

I noticed an issue in the readme file where the example for fuzziness was incorrect. It incorrectly sets the "fuzziness" attribute, which doesn't exist. Instead, it should call the "fuzziness" method.

$tnt->fuzziness = true;$tnt->fuzziness(true);

This pull request (PR) corrects the example by using the appropriate methods.

Resolved: https://github.com/teamtnt/tntsearch/issues/300

nticaric commented 11 months ago

thanks for spotting this