Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a generic downrank (like the generic discard)? #34

Open
digital-carver opened this issue May 1, 2023 · 3 comments
Open

Is there a generic downrank (like the generic discard)? #34

digital-carver opened this issue May 1, 2023 · 3 comments

Comments

@digital-carver
Copy link

Instead of discarding non-matched sites entirely (which could exclude useful results too), I tried downranking them all with a

$downrank

statement. This works for the $discard instruction, as shown in some of the example goggles and mentioned here. But based on some experimentation, this doesn't really seem to work when it's the downrank instruction being used this way. As far as I can tell, this instruction is just being silently ignored.

Is there a generic downrank feature that I'm just not seeing the effect of in my tests? Or is it not implemented? If it's not yet implemented, please consider this a feature request for a catch-all generic downrank.

@remusao
Copy link
Collaborator

remusao commented May 4, 2023

Hi @digital-carver,

Thanks for reaching out. The generic $downrank should work already, can you share the rules that you used to test that it does not work?

@digital-carver
Copy link
Author

digital-carver commented May 5, 2023

On this goggle, I tried the generic $downrank goggle, and the results were the same whether the line was:

  1. $downrank
  2. $downrank=10
  3. ! $downrank (i.e. no downranking)

I tried all these by editing, resubmitting, and doing the search again (the keyword I was searching for was 'hurdle model'). And in every case, the results were exactly identical to each other. Even if it doesn't surface new results, I'd at least expect the already existing boosted results in the search to get moved higher relative to the downranked ones, if there was downranking going on, but there's no change in their positions.

@remusao
Copy link
Collaborator

remusao commented May 5, 2023

Thanks for sharing, we'll look into it!

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

No branches or pull requests

2 participants