Searching 3.54 million patent records, which was impractical with SQLite's LIKE search, is solved with FTS5 full-text search. This article explains the implementation steps for inverted index, BM25 ranking, and compound search, as well as query tuning know-how when integrating with MCP. Try it free at patentllm.org.