Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.paradedb.com/llms.txt

Use this file to discover all available pages before exploring further.

Legacy Docs: This page describes our legacy API. It will be deprecated in a future version. Please use the v2 API where possible.
BM25 scoring is not enabled for term set queries. As a result, the scores returned may not be accurate. This behavior reflects the underlying implementation in Tantivy.

Basic Usage

Matches documents containing any term from a specified set.
SELECT description, rating, category
FROM mock_items
WHERE id @@@ paradedb.term_set(
	terms => ARRAY[
		paradedb.term('description', 'shoes'),
		paradedb.term('description', 'novel')
	]
);
terms
required
An ARRAY of paradedb.term query objects.