Fuse icon indicating copy to clipboard operation
Fuse copied to clipboard

how to add negative weigth to a property?

Open KutnerUri opened this issue 3 years ago • 1 comments

I'm trying to query a list of items:

[{ name: "hello"}, {name: "helo", deprecated: true}, {name: "world"}]

I want to show items with the deprecated: true property, but lower their score, so for example, "helo" will appear after "hello". I want to assign a negative value to deprecated, or give a positive weight when it is undefined. How do I do that? 🤔

KutnerUri avatar Apr 07 '22 13:04 KutnerUri

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] avatar Aug 06 '22 00:08 github-actions[bot]