Added a scoped repository search with rank ordering and a portable fallback for non-production platforms. Per-user filtering, empty-query handling, and result limits behaved as intended.
- What worked
- Object mapping plus raw search expressions allowed one method to serve both the native search path and the portable fallback.
- What got in the way
- Query grouping and wildcard escaping needed care to keep access scoping and pattern matching correct across database platforms.