Repository navigation
v1.0.0
·
32 commits
to main
since this release
Search Debug adds a permission-gated overlay to the Spryker storefront search results page: the real Elasticsearch/OpenSearch _score per product, which query tokens matched, and — one click deeper — the exact BM25 boost/idf/tf numbers behind each match. Every query token also links to its own analysis-path trace, showing exactly how the shopper's typed words became a search token. No more "because Elasticsearch said so."
Verified, not just claimed:
- Explanation parsing cross-validated against 3 engines across 2 Lucene generations — OpenSearch 1.3.4/8.10.1, OpenSearch 2.11.0/9.7.0, Elasticsearch 8.11.0/9.8.0 — byte-identical output where it matters, and a real Lucene wording change (8.10→9.7) survived unbroken thanks to prefix-based matching.
- 226 tests, phpcs and phpstan level 6 clean, dependency floors verified at their oldest allowed versions via a repeatable
composer check-floorsscript. - Standalone by design: no hard dependency on any other community package; the whole install is registration-only, nothing auto-activates.
What's Changed
- Respond to code review: generalize field boosts, attribute labeling, … by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#1
- Component definitions by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#2
- Fix synonym scoring/crash bugs by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#9
- Support function_score-wrapped queries by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#10
- Add BM25 breakdown, pin-toggle, colored analysis path by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#6
- Fix full-repo code review findings by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#7
- README updates by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#8
- Decompose ExplanationParser/TokenSourceResolver and close remaining coverage gaps by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#12
- Add phpmd complexity/size checks to CI by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#11
- Add search-time-analyzer tracing for the SRP overlay's own query tokens by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#13
- Extract analyzer-param check into a testable helper by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#14
- Fix stale test count in README by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#15
New Contributors
- @andrebarthelmeshellmuth made their first contribution in andrebarthelmeshellmuth/spryker-search-debug#1
Full Changelog: https://github.com/andrebarthelmeshellmuth/spryker-search-debugger/commits/v1.0.0