flexsearch icon indicating copy to clipboard operation
flexsearch copied to clipboard

fuzzy search and typos

Open gabzim opened this issue 4 years ago • 11 comments

Is there any way to support typos/misspellings of a word? Like a hamilton distance search where anything with a small distance is also included? eg: if I misspell tetx instead text. Is this supported?

gabzim avatar Aug 07 '19 02:08 gabzim

When I'm finished with the 0.7.0 release, I will think about how this could be implemented.

ts-thomas avatar Nov 13 '19 09:11 ts-thomas

That's a very important feature. Are there plans to implement it?

gustavopch avatar Jun 01 '21 12:06 gustavopch

@ts-thomas With a fuzzy search you will make every other search libraries obselete. Can you imagine the impact on society ? Every release would be showcased at the Las Vegas flexsearch conference, you could have your own TV show, who knows?

Please, we crave this feature.

acauquil avatar Sep 28 '21 08:09 acauquil

I also need this feature. In other libraries you could provide e.g. fuzzyness: 0.2

a-tonchev avatar Nov 20 '21 23:11 a-tonchev

Could be interesting to mention this on the README. Why would you include fuzzy search libraries in the benchmarks if flexsearch does not even support it?

thgh avatar Jan 29 '22 16:01 thgh

I just refactored from fuse.js to flexsearch, before realising that flexsearch doesn't support fuzzy search, so close from glory 😅 @ts-thomas you mentioned you'd look into it after 0.7.0, are you still interested in supporting this?

Hebilicious avatar May 19 '22 13:05 Hebilicious

I also very much crave fuzzy search. Any updates on this?

davidpaulsson avatar Jun 14 '22 18:06 davidpaulsson

Why does the README even claim fuzzy search when it's not a thing?

kevinlul avatar Jul 17 '22 03:07 kevinlul

@ts-thomas The world needs a warrior, Rise from the ashes.

Abhi13027 avatar Dec 10 '22 03:12 Abhi13027

This is an essential feature for us, we'd love to use flexsearch but without fuzzy search we'll have to use something else.

sujato avatar Aug 04 '23 06:08 sujato

Dear @ts-thomas,

I recommended your fantastic lib to a friend who just came back to me that this was a bad consulting. I used your library often in the past and did not even notice that fuzzy search was not part of it. What made me think that some kind of fuzzyness is covered is due to the encoder overview in the docs.

I think it would be fair to clearly state that fuzzy is currently not part of the deal - somewhere way up in the docs. I would also love to get your opinion about this topic. Do you think fuzzy search is something that may be combined with you r current approach?

Since today seams all about AI, LLM, Embeddings, I would also would like to hear your opinion about the approach of using vectors for similarity search.

Sorry, I'am curious about all these questions but I do not expect an answer. I am very thankful for all your work you put in here. 0.8 looks lovely!

manuelportela avatar Mar 08 '24 08:03 manuelportela