Commit 4366b26
committed
docs(search)+seed(showcase): document pinyin recall and make it demonstrable out of the box (#2486)
Follow-ups to the merged pinyin-search feature (ADR-0097, PR #3027):
- environment-variables.mdx: new "Search" section documenting
OS_SEARCH_PINYIN_ENABLED (locale-derived default, explicit override,
what it gates).
- queries.mdx: "Pinyin recall" subsection under Full-Text Search — how
zhangwei/zw match CJK names transparently, what stays unchanged.
- showcase seed: CJK-named account (华宁科技) and contacts (张伟/王芳/李雷)
so the auto-enabled pinyin search is demonstrable in the picker and
list quick-search instead of silently finding nothing.
Verified on a fresh showcase boot: $search=zhangwei/zw/wf/huaning/hnkj
all recall the seeded CJK records.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMugRriiNv3nsnmLczfhuY1 parent 55bc68d commit 4366b26
3 files changed
Lines changed: 43 additions & 0 deletions
File tree
- content/docs
- data-modeling
- deployment
- examples/app-showcase/src/data/seed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
370 | 383 | | |
371 | 384 | | |
372 | 385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
238 | 258 | | |
239 | 259 | | |
240 | 260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
72 | 82 | | |
73 | 83 | | |
74 | 84 | | |
| |||
0 commit comments