Volcano Engine’s VikingDB now supports keyword and vector retrieval within the same database, with keyword capabilities already used across dozens of online business scenarios. We believe that adding precise lookup to vector databases is becoming an essential requirement for enterprise knowledge bases to move into production.
What This Is
Vector retrieval finds content with similar meaning based on semantic similarity, making it well suited to natural-language queries. Keyword retrieval, by contrast, matches words exactly and is better suited to looking up error codes, product model numbers, identifiers and people’s names. The two are not substitutes: vector search is good at understanding differences in expression, while keyword search is more reliable when every character must be correct.
VikingDB processes documents and queries through the same tokenization pipeline, writes terms into an inverted index, and then calculates relevance using BM25, a ranking algorithm that measures term frequency and rarity. It also supports n-gram tokenization, searches for rare Chinese characters and pinyin, multi-field weighting, and forward and reverse filtering.
For example, when searching for “0xC000021A蓝屏,” pure vector retrieval may rank documents containing a different error code but discussing a similar topic ahead of the correct match. Keyword retrieval can instead prioritize documents that contain that exact error code.
Industry View
We notice that the commercial value of this capability lies not merely in adding another search button, but in allowing enterprises to incorporate business rules into the retrieval process. Titles, aliases and body text can be assigned different weights, while terms such as “used” or “refurbished” can be excluded before ranking, reducing the likelihood that an answer will be based on incorrect information.
Keyword retrieval also has limits. Tokenization rules may mishandle rare characters and classical Chinese, while polyphonic characters can produce multiple pinyin candidates. Field weights still depend on business teams configuring them, and incorrect settings can allow a frequently matched but unimportant field to outweigh the title. It is also worth noting that the available sources are primarily product practice articles, with few third-party benchmarks or independent validations across different business scales. Claims such as “trillion-scale vector capacity” and “millisecond-level response” also do not mean that every keyword query will consistently achieve the same performance on real-world data.
Impact on Regular People
For enterprise IT: Knowledge bases, customer service and internal search can retain both semantic retrieval and exact matching without first bearing the cost of replacing existing search systems. Before deployment, however, teams still need to test recall results using real error codes, model numbers and business blacklists.
For workplace productivity: AI search will be better at locating specific documents rather than merely offering references with similar topics. Users need to check the source and matched fields, and must not treat semantic similarity as factual agreement.
For the consumer market: Product searches will more easily pinpoint exact models and enforce filters such as “brand new” or “official” more effectively. At the same time, enterprises may package filtering and weighting rules as more precise recommendations, so consumers should remain attentive to ranking rules.