paradedb.match
if distance
is greater than zero.paradedb.match
is ParadeDB’s standard full text query. It tokenizes a query string and searches for matches against a specified field,
allowing for custom tokenizers and fuzzy matching.
field
.2
.true
and fuzzy matching is enabled, transpositions (swapping two
adjacent characters) as a single edit in the Levenshtein distance calculation,
while false
considers it two separate edits (a deletion and an insertion).true
and fuzzy matching is enabled, the initial substring
(prefix) of the query term is exempted from the fuzzy edit distance
calculation, while false includes the entire string in the calculation.true
, all tokens of the query have to match in order for a
document to be considered a match. For instance, the query running shoes
is
by default executed as running OR shoes
, but setting conjunction_mode
to
true
executes it as running AND shoes
.paradedb.tokenizer
can be passed to tokenizer
to control how the query string is tokenized.
paradedb.tokenizer
prints the configuration object to pass into tokenizer
.Expected Response
distance
is set to a positive integer, fuzzy matching is applied. This allows match
to tolerate typos in the query string.
match
constructs an OR
boolean query from the query string’s tokens. For instance, the query running shoes
is executed as running OR shoes
.
When set to true
, conjunction_mode
constructs an AND
boolean query instead.