sanity-io / GROQ

Specification for GROQ - The Query Language for JSON
https://groq.dev
MIT License
398 stars 15 forks source link

Add score() and boost() + minor stuff #51

Closed atombender closed 3 years ago

atombender commented 3 years ago

First stab at document scoring. This is made harder by the fact that score() evaluates expressions that merely contribute to scoring. So match predicates return true/false, not a score, so we have a few options: