Full Text Search
Lenient Parsing
Basic Usage
By default, lenient parsing is disabled. Enable it by setting the lenient_parsing
parameter to true
.
When enabled, the query parser will attempt to construct a valid query on a best-effort basis, ignoring invalid components such as missing or non-existent fields.
SELECT * FROM <index_name>.search(
'<query>',
lenient_parsing => true
);
Was this page helpful?