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.08k stars 293 forks source link

docs: fix fuzziness method example #305

Closed alaminfirdows closed 10 months ago

alaminfirdows commented 10 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 10 months ago

thanks for spotting this