DEV Community

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

Collapse
 
moopet profile image
Ben Sinclair

I've put in a bug report for this already here:
forem/issues/13746

I think it's doing a full text search of the post content but not the title.

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!