Search¶
Based on Apache Lucene, CrateDB offers native BM25 term search and vector search, all using SQL. By combining it, also using SQL, you can implement powerful single-query hybrid search.
All search features of CrateDB at a glance.
Full-Text Search
Inverted index and Okapi BM25 search ranking based on Apache Lucene at scale, using SQL as lingua franca.
Geo Search
Supports location data for efficiently storing and querying geographic and spatial/geospatial data.
Vector Search
HNSW data retrieval on ML vector embeddings enables semantic search on your fingertips, using standard SQL.
Hybrid Search
Combines FTS and HNSW technologies, unlocking the best of both worlds in term-based and semantic search.