title: 'Search Functionality' sidebar_label: 'Search' description: 'Learn how Spice can search across datasets using database-native and vector-search methods.' sidebar_position: 10 pagination_prev: null pagination_next: null tags:
import DocCardList from '@theme/DocCardList';
🎓 For a practical walkthrough, see the: Amazon S3 Vectors with Spice engineering blog post.
Spice provides robust search capabilities enabling developers to query datasets beyond traditional SQL, including semantic (vector-based) search, full-text keyword search, and hybrid search methods.
Spice supports multiple search methods:
Vector search uses embeddings—numerical representations of data—to identify similar or related content based on semantic meaning.
Requirements:
Getting Started:
Example SQL Vector Search:
For complete SQL UDTF specifications, see Vector-Based Search SQL UDTF.
Full-text search efficiently retrieves records matching specific keywords.
Requirements:
Getting Started:
Example SQL Full-Text Search:
For detailed SQL UDTF instructions, see Full-Text Search SQL UDTF.
Reciprocal Rank Fusion (RRF) combines results by merging rankings from multiple search methods to improve relevance.
Requirements:
Example SQL Hybrid Search:
For complete RRF syntax and parameters, see Search SQL Reference.