LIMIT
to any query where paradedb.snippet
is called to restrict the
number of snippets that need to be generated.paradedb.fuzzy_term
and paradedb.match
.<b></b>
tags. This can
be modified with the start_tag
and end_tag
arguments.
paradedb.snippet(<column>)
can be added to any query where an @@@
operator is present.
The following query generates highlighted snippets against the description
field.
<b></b>
encloses the snippet. This can be configured with start_tag
and end_tag
:
paradedb.snippet_positions(<column>)
returns the byte offsets in the original text where the snippets would appear. It returns an array of
tuples, where the the first element of the tuple is the byte index of the first byte of the highlighted region, and the second element is the byte index after the last byte of the region.
Expected Response