OceanBase Open-Sources OceanSeek: How Can a Single SQL Query Search for Keywords and Find Similar Documents at the Same Time?

artifactNovember 25, 2026release AiFun
29 0

A maintenance technician asks, “The B17 charging cabinet at the East China warehouse shut down due to overheating. Which procedure should I check first?” Keywords can pinpoint the model, vectors can link “overheating shutdown” to “abnormal temperature power cut,” while the warehouse, equipment model, and procedure version determine whether the results are applicable. A traditional approach might involve querying a database for a range of terms, retrieving a set of candidates from a full-text search engine and a vector database, and then merging them via an application. OceanSeek aims to have all these searches run through a single SQL interface. It will be interesting to see if the team can thereby reduce the number of data sets they need to maintain while still being able to explain why a particular procedure is ranked first.

OceanSeek is an open database, while OceanLake is a larger platform.

On November 24, OceanBase atAnnouncementIt launched OceanLake and made the OceanSeek database, designed for intelligent systems, available to the public. OceanLake is an integrated data platform that encompasses transactional, analytical, and open storage capabilities;OceanSeek RepositoryReleased under the Apache-2.0 license; this license does not imply that all OceanLake components are open source. If you find products from the same vendor, seekdb...That is a separate, standalone project that also offers hybrid search; before deployment, you should verify its capabilities and prerequisites according to its documentation.

The challenge of combined queries isn't whether they can be written as a single SQL statement.

OceanSeek’s public documentation describes three search paths: scalar condition filtering, full-text indexing for keywords, and vector indexing for semantic neighbors. For maintenance cases, “East China Warehouse,” “currently in effect,” and model B17 can be treated as hard conditions, and semantic retrieval can then be used to identify inspection steps phrased differently. It is not advisable to assume that full-text tokenization can fully identify the model number.

The scores from the two paths cannot be directly compared either: keyword matching scores and vector similarity are not measured by the same standard. The OceanSeek documentation lists fusion ranking methods such as RRF. RRF uses the rankings from each stream rather than directly comparing raw scores, making it suitable for establishing a baseline comparison; however, the hard requirement remains that the old protocol—even if it ranks highly in both streams—cannot outperform the current version. During acceptance testing, you can pre-define the procedures that should be matched, compare the results from the keyword, vector, and hybrid groups, and examine the hit rate for the first result, recall for the top five results, and long-tail response times separately to avoid judging performance based on a single demonstration.

From the sample implementation to production deployment, there are two acceptance checks.

The first step is authorization. In SQL, the repository conditions define the scope of the search; which data can be accessed should be determined by independently verified identities and permissions. Two sets of fictitious repository data can be placed in an isolated environment, with the unauthorized documents in one repository being more similar to the problem in both text and semantics. Conduct standard queries using two restricted user accounts to confirm that each can still locate authorized documents, and verify that unauthorized content does not appear in search results, citations, or links to the original source. Then test when search, citation, and download functions take effect as expected after adding new documents, updating versions, or revoking access permissions.

The second factor is operating costs. Official Quick StartNote that even when using Docker Compose, you must set up S3-compatible object storage along with separate buckets for data and logs. Even though the application-side concatenation logic is reduced, you still need to manage the object storage, as well as backups and recovery. During evaluation, in addition to query latency, you should also track the time from index update to when data becomes searchable, calculate object storage requests and traffic, and conduct a recovery drill.

If your project frequently requires simultaneous fulfillment of precise criteria (such as model numbers), business scope, and natural language search, OceanSeek is worth testing with a sample set. Teams with an existing, stable search stack can retain it as a control: first confirm that hybrid search makes it easier to find the correct procedures and allows for more controlled updates, and then decide whether to adjust the architecture to reduce synchronization between systems.

© Copyright notes

Related articles

No comments

none
No comments...