teamtnt / laravel-scout-tntsearch-driver

Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
MIT License
1.1k stars 144 forks source link

Can you please update the tutorials? #200

Closed SaphiLC closed 3 months ago

SaphiLC commented 6 years ago

This package documentation is really bad, at least for newbies like me, it ignores the fact that most ppl dont understand the key concepts of this kind of searching.

I have no idea what fuzzinness is or does, or prefix_length, or max_expansions, or distance, or asYouType (i assume this is something for ajax???) or searchBoolean, and the documentation just makes you copy and paste those things without explaining what are they about.

I tried to find tutorials, examples, etc, but they are outdated, like the "Searching for Bobby Fisher with Laravel 5".

If you could PLEASE update and expand the documentation a bit, it would be amazing, because right now this package works so bad (my fault probably), like if i paginate, sometimes i get some pages with 1 or 2 results while the other pages have the correct amount of results in them (example, page 1 has 1 result, page 2 has 10 results....what???) or being unable to achieve a LIKE %string% seach, if i seach for "pizza" and the name i have is "superpizza", it wont be found, but if i search for "super", i get the result, i tried adding trigrams and nothing.... And one more thing, why to negate a word you have to place the - in the words you want to keep? makes no sense

What about negation, ie. if you want to get all Fishers that aren't Bobbies? Simple, Bobby -Fisher. -Bobby Fisher makes more sense

So what im asking for is if you could improve the documentation without assuming we all know whats in your mind, thanks :S Hope i dont sound too demanding, but im really frustrated with this package, i really want to love it but right now its imposible :(

sorry for my bad english :\