Commit dd13891
fix(core): Use AND logic for multi-term package search
Changed the search logic from OR (`.any`) to AND (`.all`) when matching multiple search terms. This significantly improves search precision, as queries like "text editor" will now only return packages matching both terms instead of returning every text-related OR editor-related package.
Co-authored-by: insign <1113045+insign@users.noreply.github.com>1 parent 751ec88 commit dd13891
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
469 | 492 | | |
470 | 493 | | |
471 | 494 | | |
0 commit comments