As suggested on Discord, perhaps a special lens (or bang) could allow a user to search only on Kagi's internal index. We can expect Kagi to grow over time and have a nicely curated (at first) and broader internal index in the future.
This would eventually allow Kagi to reduce search costs by not hitting external indexes at all, especially for some types of searches where it is not necessarily needed, such as:
- Queries to official websites: The internal index could initially crawl and index the home pages of important websites to return these results.
- Queries to documentation websites: The internal index could initially crawl and index a list of curated websites per domain. We are talking about programming documentation such as popular websites (MDN), languages (Python, Rust, Go, etc.), frameworks (Next, Nuxt, etc.), and libraries (React, Vue, etc.). Other subjects could benefit from this idea, but programming searches for documentation websites might be a fair share of the total searches for power users of Kagi.
- Queries to popular websites with stable content: The idea above could be extended to popular websites with "stable" content (i.e., websites of finite size in some sense), such as Wikipedia. A "finite" size means that the crawler does not need to crawl such sites too often for new content (unlike news websites), which can also reduce costs.
The advantage is that a user can keep the internal index lens by default and switch to no lens by clicking the lens toggle button to allow a full search on all indexes if the initial one is unsatisfactory. Perhaps the internal index lens could count for less or not at all for a user's search quota. Maybe the flat membership fee can fully cover the infrastructure costs of crawling those websites and serving those queries.
Of course, there are other issues to consider. How could a user create a custom lens to search both the internal index only and specific sources only?
From a UX perspective, I can think of three approaches to this idea:
- Having a broad "internal index" lens (or bang). The disadvantage of this approach is that the user could not easily create a lens for specific topics. Example for an MDN lens: how to create a lens to search only on the internal index and only on the MDN?
- An "internal index" toggle next to the lens toggle in the Advanced Search panel, or a drop-down menu that allows the user to choose between internal and full index, along with other drop-down menus such as region, time, etc.
- Allow the user to choose between internal index only or full index (including external indexes) when creating a lens.