You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e85d2a4
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -1033,6 +1039,19 @@ QueryAST-aligned options for DataEngine.count operations
1033
1039
|**transaction**|`any`| optional ||
1034
1040
|**traceId**|`string`| optional ||
1035
1041
1042
+
### Nested Shape: `EngineCountOptions.search`
1043
+
1044
+
| Property | Type | Required | Description |
1045
+
| :--- | :--- | :--- | :--- |
1046
+
|**query**|`string`| ✅ | Search query text |
1047
+
|**fields**|`string[]`| optional | Fields to search in (if not specified, searches all text fields) |
1048
+
|**fuzzy**|`boolean`| optional (default: `false`) |[EXPERIMENTAL — not enforced] Fuzzy matching (tolerate typos). The ADR-0061 expansion reads only `query` + `fields`; no executor receives this flag. |
1049
+
|**operator**|`Enum<'and' \| 'or'>`| optional (default: `"or"`) |[EXPERIMENTAL — not enforced] Logical operator between terms. The ADR-0061 expansion applies its own term semantics; no executor receives this flag. |
1050
+
|**boost**|`Record<string, number>`| optional |[EXPERIMENTAL — not enforced] Field-specific relevance boosting (field name -> boost factor). No executor scores results. |
1051
+
|**minScore**|`number`| optional |[EXPERIMENTAL — not enforced] Minimum relevance score threshold. No executor scores results. |
1052
+
|**language**|`string`| optional |[EXPERIMENTAL — not enforced] Language for text analysis (e.g., "en", "zh", "es"). No executor selects an analyzer. |
1053
+
|**highlight**|`boolean`| optional (default: `false`) |[EXPERIMENTAL — not enforced] Search result highlighting. No executor emits highlights. |
0 commit comments