7 ms·
Do you know what approach is better for autocomplete search: fuzzy search or tf-idf? Recently I read this post [0] about indexing Wikipedia using tf-idf. Howeve
by auraham 3y ago
Do you know what approach is better for autocomplete search: fuzzy search or tf-idf? Recently I read this post [0] about indexing Wikipedia using tf-idf. However, I've seen that fuzzy search is often used for autocomplete [1].
[0] https://bart.degoe.de/building-a-full-text-search-engine-150-lines-of-code/ https://bart.degoe.de/building-a-full-text-search-engine-150...
[1] https://github.com/farzher/fuzzysort https://github.com/farzher/fuzzysort
- airblade 3y agoIt probably depends on whether you are searching a body of natural language text (use tf-idf) or a list of things (use fuzzy search).