SearchTextResult
Individual search result.
Example Usage
typescript
import { SearchTextResult } from "@meetkai/mka1/models/components";
let value: SearchTextResult = {
text: "Wireless noise-cancelling headphones with 30-hour battery life",
group: "electronics_q1_2026",
score: 0.9321,
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
text | string | ✔️ | Matching text content |
group | string | ✔️ | Group identifier associated with this text |
score | number | ✔️ | Relevance score (higher = better). Hybrid mode returns LanceDB's _relevance_score directly. During the FTS rebuild debounce window the server falls back to vector-only search and reports 1 / (1 + _distance) instead, which is in (0, 1]. |