search-source-chunks-filters-stop-words
IN premise
`_search_source_chunks` filters out single-character tokens and common stop words before constructing FTS5 queries, returning empty string when no usable terms remain.
Summary
The search function cleans up user queries before hitting the database by removing very short tokens and common words like "the" or "and" that would produce noisy results. If the entire query is made up of these throwaway terms, it returns nothing rather than running a meaningless search — so queries like "a" or "the an" will silently produce no results.
Details
| Source | entries/2026/05/05/tests-test_ask.md |