gravel_core

Module scoring

source

Functionsยง

  • Assigns each hit a score based on how closely its title matches the query, discards non-matching hits and orders them highest to lowest.
  • Like to_scored, but skips the actual scoring step, defaulting to 0