DEV Community

Discussion on: DEV.to internal search is... bad?

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

That seems like a fair assessment, I might have a gander at the query and see if I can offer any suggestions.

Normally I would do a weighted search based on exact match, all words, some words and one word and then a further weighting on whether it is in the title (higher weight) or number of occurrences in the body.

But given the size of dev.to database that would be a really slow query!