Commit 90ff957
docs(objectql): the ADR-0061
Two independent comment-only corrections in `packages/objectql/src/search-companion.ts`,
zero behaviour:
1. The module docblock opened "`$search` (ADR-0061 Tier 1) is a `$contains` over
source columns". Source-column clauses compile to `$icontains`
(`search-filter.ts:109` / `:111`), adjudicated at `search-filter.ts:23`:
"[#7641] The case-insensitive operator is `$icontains`, NOT `$contains`."
Operator spelling only — the argument the sentence carries survives the
correction unchanged (case folding does not transliterate, so `zhangwei`
cannot hit a stored CJK original under either operator).
2. `provisionSearchCompanion`'s docblock named the companion column's only reader
`buildSearchFilter`, which is not an export of `search-filter.ts`. The reader
is `expandSearchToFilter`.
The two remaining `$contains` in this file (`:237`, `:286`) describe the hidden
`__search` companion clause, where the case-SENSITIVE operator is correct and
deliberate (`search-filter.ts:137-143`, "Do not 'align' the two"). Untouched.
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
Co-authored-by: Claude <noreply@anthropic.com>$search expansion over source columns is $icontains, and the __search reader is expandSearchToFilter (#14594)1 parent 7642aac commit 90ff957
2 files changed
Lines changed: 40 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
0 commit comments