api-fts-search-bounds-query-calls
IN premise
`_fts_search` makes at most 51 internal `_fts_query` calls regardless of input query length, preventing combinatorial explosion from progressive relaxation on long queries.
Summary
The full-text search function has a hard cap of 51 internal query attempts when progressively relaxing search terms, so even very long or complex queries won't spiral into an explosion of database calls. This bounds the worst-case performance and keeps search responsive no matter what users type in.
Details
| Source | entries/2026/05/11/tests-test_api.md |