jkomoros / card-web

The web app behind thecompendium.cards
Apache License 2.0
46 stars 8 forks source link

Make it so expand filter can take similar-limit as a second part #574

Open jkomoros opened 2 years ago

jkomoros commented 2 years ago

Originally captured in #570.

For the second part of the expand filter, it currently only takes children/descendants/etc filters. But it should also make it possible to return cards close to the given set that are above some similiarity threshold.

similar doesn't actually filter anything, so we'd need to add a similar-limit filter that takes a card-id as well as a similarity cutoff float. And then when it's used as the second part of the expand filter, it, like the children filters, ignores the card-ID and passes in the full set of cards from the first part

jkomoros commented 2 years ago

The similar filter should be able to take a combination of all of the cards enumerated, and then combine their fingerprint (kind of like a tag) and then find things that are similar to that fingerprint.

jkomoros commented 2 years ago
jkomoros commented 2 years ago

This is now mostly done except for a couple of niggling cleanup issues.