description
and category
:
- Add the expression to the column list. In this example, the expression is
description || ' ' || category
. - Cast it to a tokenizer, in this example
pdb.simple
. - ParadeDB will try and infer a field name based on the field used in the expression. However,
if the field name cannot be inferred (e.g. because the expression involves more than one field), you will be required
to add an
alias=<alias_name>
to the tokenizer.
The expression on the left-hand side of the operator must exactly match the
expression that was indexed.