fix: search example to support Redis v4+ and Express 4/5 (#6274)
* Fix Redis example to support Redis v4+ and Express 4/5
* update optional route syntax to /{:query} and refactor Redis initialization into dedicated function to guarantee that it is complete before server starts
---------
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com> V
Viny Brun Kriesang committed
d12772393c8249666e0fcc11e298f48ce4632a11
Parent: 6b7ccfc
Committed by GitHub <noreply@github.com>
on 2/1/2026, 3:12:23 AM