DEV Community

loading...

DEV.to internal search is... bad?

Jean-Michel Fayard πŸ‡«πŸ‡·πŸ‡©πŸ‡ͺπŸ‡¬πŸ‡§πŸ‡ͺπŸ‡ΈπŸ‡¨πŸ‡΄
Weeks of programming can save hours of planning
・1 min read

I remember the dev.to search being super useful, but it ain't so anymore

Compare a search for Sprint interview questions
https://dev.to/search?q=spring%20interview%20questions

Alt Text

Versus Google

Alt Text

Discussion (6)

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
inhuofficial profile image
InHuOfficial • 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!

Collapse
abhinav1217 profile image
Abhinav Kulshreshtha

I believe there should be option for advance search included. Personally, There are times where I remember parts of title of a post I read in past, and now when I need another look for that, I can't search for it. An advance search where I can just choose to run full-text-search on titles only, will make my life easier.

Collapse
adam_cyclones profile image
Adam Crockett

I think comparing Google search to Dev.to search is like comparing the international space station to a potato πŸ₯”

Collapse
shaijut profile image
Shaiju T

Yes the search is not working properly. Search is very important feature. Sometime i want search my own comments and its not possible.

@ben

Collapse
mikhailkaran profile image
Mikhail Karan

Yah, essentially useless :(

Forem Open with the Forem app