Inverted Index
Inverted Index is Lakehouse's full-text search acceleration index. It tokenizes text content in columns and builds a mapping from words to rows, enabling keyword matching and full-text search queries.
Comparison with Bloomfilter Index
| Aspect | Inverted Index | Bloomfilter Index |
|---|---|---|
| Applicable Queries | Full-text search, keyword matching (MATCH) | Equality filtering (=, IN) |
| Applicable Column Types | Text columns (VARCHAR, STRING) | Any type, high-cardinality columns |
| Typical Scenarios | Log search, product name search | Point lookup by ID |
Applicable Scenarios
- Log analysis: search for keywords in the
messagecolumn - Product search: full-text search in product names and descriptions
- User behavior: match specific behaviors in event description fields
Create Example
Related Documents
- Inverted Index Details
- Index Usage Best Practices
- Bloomfilter Index — equality filtering scenarios
