boost
type. In this example, the shoes
query is weighted twice as heavily as the footwear
query.
boost
takes a numeric value, which is the multiplicative boost factor. It can be any floating point number between -2048
and 2048
.
Query builder functions can also be boosted:
rating
. This means that items with
the same score but a higher rating
will score higher overall.
paradedb.score(id) * rating
is less performant than ordering by
just paradedb.score(id)
over large tables.