Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

ranking: diversity boost code if no code at top #57975

Closed
keegancsmith opened this issue Oct 30, 2023 · 2 comments
Closed

ranking: diversity boost code if no code at top #57975

keegancsmith opened this issue Oct 30, 2023 · 2 comments

Comments

@keegancsmith
Copy link
Member

Another "diversity rule" that could be helpful: in the absence of file filters, at least one file in the top 3 should be a code file (not build, not docs).

Originally posted by @jtibshirani in sourcegraph/zoekt#665 (comment)

@jtibshirani
Copy link
Member

It could be good to "step back" and take a general look at how we mix results across languages and types (source, config, docs, etc.) For example, if scores were more comparable across types, maybe we wouldn't need special diversity rules?

@jtibshirani
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants