createTextIndex
Declare a BM25 keyword text index over one label property or all strings to enable text and vector searches once it is ready.
Instructions
Declare a keyword (BM25) text index over one property of a label, or every string of it (property "*"). It is built online; once its status is "ready" (listTextIndexes), search it with textSearch or as the text leg of vectorSearch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Index name, unique within the project. Defaults to <label>.<property>.text ("all" for "*"). | |
| label | Yes | Record label to index. | |
| property | Yes | Property to index, or "*" for every string of the record. | |
| consistency | No | "eventual" (default): searches see changes shortly after they commit. "immediate": every search sees every committed change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes |