cfpb / github-wiki-search

:warning: DEPRECATED :warning:
Creative Commons Zero v1.0 Universal
7 stars 17 forks source link

weight titles #36

Open dgreisen-cfpb opened 10 years ago

dgreisen-cfpb commented 10 years ago

It seems to me titles are more important than content. Imagine we have a document with a title "foo" the homepage has a link to this page, the link is called "foo". If someone searches for "foo" both of these documents currently have the same weight. But if we weight an h1 at 7x all the way down to an h6 at 2x, then we better capture, I think, the appropriate weights.

himedlooff commented 10 years ago

This sounds like something worth trying.

OrlandoSoto commented 9 years ago

yes, this would make the results page more usable by displaying the heavier weights at the top :+1: