SearchHit
Defined in: libs/runtime/src/full-text.ts:20
One result of a full-text search.
Member summary
Section titled “Member summary”Properties
| Name | Description |
|---|---|
| entityId | The thing that matched, as entityId spells it. |
| rank | How well it matched, as a BM25 score. |
Properties
Section titled “Properties”entityId
Section titled “entityId”
readonlyentityId:string
Defined in: libs/runtime/src/full-text.ts:22
The thing that matched, as entityId spells it.
readonlyrank:number
Defined in: libs/runtime/src/full-text.ts:24
How well it matched, as a BM25 score. Lower is better, matching SQLite’s convention.
TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.