Basic Usage

A boost query wraps around another query to amplify its scoring impact, without altering the set of matched documents.

SELECT description, rating, category, paradedb.score(id) FROM mock_items WHERE id @@@ paradedb.boolean(  should => ARRAY[  paradedb.term('description', 'shoes'),  paradedb.boost(2.0, paradedb.term('description', 'running'))  ] ); 
factor
required

The factor by which to multiply the score of each result.

query
required

The query to perform.