Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

support scoring shorter length results higher #18

Closed
marbemac opened this Issue Jan 19, 2012 · 3 comments

Comments

Projects
None yet
3 participants

I have a large database of topics that users are allowed to search (via soulmate). Each topic has reputation on the website so that translates nicely to a soulmate score. However, when a user types a short word often longer words that include this short word will show up first. For example if the user types 'band', there are many topics in the world with the word band included in their name. I'm not sure what the best way to implement this is, but would it be possible to allow weighting of shorter words higher? Such that if someone searches 'band' the topic 'band' will be more likely to show up than 'dave matthew's band'? Maybe take into account the score as well.

I'm open to all ideas. Thanks!

Is this possible?

Why not cap the user reputation score at 50% of the total score for a topic, and use the remaining 50% to favor shorter length results?

Owner

josegonzalez commented Jun 29, 2017

Closing since this is unmaintained. Please use soulheart instead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment