ppl / module-search-intelligence
Standalone search intelligence for Magento 2 with canonical search results, query understanding, MySQL candidate collection, explainable ranking and optional Discovery Filters integration.
PPL Search Intelligence Luma Adapter for Magento 2
This package is the Luma/RequireJS storefront adapter for Ppl_SearchIntelligenceCore. It contains only Luma layout, templates, JavaScript, CSS and frontend translations; all backend behavior is owned once by the shared Core package.
What It Adds
- Luma mini-search integration and Search Intelligence overlay rendering
- Native Magento mini-search fallback while storefront Search Intelligence is disabled
- Consolidated, config-aware frontend assets scoped to the overlay
- Luma frontend translations and contract tests
Requirements And Dependencies
- PHP >=8.1 and Magento Open Source or Adobe Commerce 2.4.9
Ppl_SearchIntelligenceCore(which requiresPpl_Hub)- Do not install or enable together with
Ppl_SearchIntelligenceHV
Installation
Install the required PPL packages in dependency order. Composer will skip packages that are already installed:
composer require ppl/module-hub ppl/module-search-intelligence
bin/magento module:enable Ppl_Hub Ppl_SearchIntelligenceCore Ppl_SearchIntelligence
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean
For manual app/code installation, copy Ppl/Hub, Ppl/SearchIntelligenceCore and Ppl/SearchIntelligence in that order, then enable all three modules.
First Use
- Build the shared Core index before enabling storefront suggestions or search-page ownership.
- Pair with
Ppl_DiscoveryFiltersonly when overlay facets are required. - Backend commands, configuration, routes, schema, cron and queues belong to
Ppl_SearchIntelligenceCore.
Admin entry: PPL Hub > PPL Search Intelligence.
Integrations And Boundaries
- Consumes only the Core block and versioned response contract.
- Does not declare database schema, routes, admin configuration, cron jobs, queues or search/ranking services.
- Conflicts with the Hyva adapter at Composer level; manual installations must also enable only one adapter.
Localization
The package includes translation CSV files for 12 locales: de_DE, en_US, es_ES, fr_FR, it_IT, ja_JP, nl_NL, pl_PL, pt_BR, ru_RU, tr_TR, zh_CN.
Customer Documentation
Customer-facing User Guides and Marketplace Long Descriptions are maintained outside the Magento module package in the repository-level docs/user_guides and docs/long_descriptions folders. The module package itself intentionally keeps only this technical README plus developer-relevant files.
Support
Support contact: [email protected]. Include the module version, Magento version, enabled PPL companion modules, and the relevant admin or storefront screenshot when reporting an issue.
Changelog
1.3.0
- Converted the package to the thin Luma storefront adapter for
Ppl_SearchIntelligenceCore. - Removed all duplicated backend, schema, routes, configuration, cron and queue ownership.
- Added native Magento mini-search fallback when the storefront feature is disabled.
- Loads one consolidated, overlay-scoped CSS bundle only when storefront Search Intelligence is enabled.
- Reduced adapter translations to the phrases actually rendered by the Luma frontend.
- Added Magento Open Source and Adobe Commerce 2.4.9 compatibility and PPL Hub 1.3 integration.
1.2.0
- Initial release.
- Added query understanding, MySQL candidate provider, explainable ranking and product signal rebuilds.
- Added admin Test Lab, hub-only configuration sections, CLI commands, cron jobs and core schema tables.
- Added optional configurable storefront suggestions, Discovery Filters integration and read-only internal provider status.
- Search result pages use Search Intelligence as the canonical product basis for product list rendering, Discovery Filters, toolbar totals, pagination and sorting.
- Added overlay fast-path payload mapping, action payload slimming, optional payload pruning and profiler payload parity.
- Added behavior-aware ranking gates that consume aggregated behavior signals; storefront behavior collection, impression tracking and purchase/return attribution are owned by the optional Ppl_Tracking module.
- Added Smart Discovery P0 payload support as an additive, read-only overlay field.
- Added Test Lab timing help and request-path details while keeping winner/loser row backgrounds neutral and limiting colored highlights to metric cells.
- Routed Search Intelligence <-> Discovery Filters cooperation through neutral Ppl_Hub capabilities: SI exposes the canonical search product set via the Hub SearchPageProductSetProviderInterface bridge and reads facet/filter data via the Hub FilterIndexReaderInterface, instead of reading a sibling module's tables.
- Declared an explicit magento/module-cron dependency and Magento_Cron load-order sequence so the bundled cron jobs (index bootstrap/rebuild, signal rebuild, knowledge-pack compile, result-set purge, async dispatch/advance) load deterministically.
- Normalized every ranking component to a common [0,1] scale before weighting, retuned the shipped default weights, and added a data patch that calibrates stored per-scope weight overrides onto the new scale so existing merchant tuning is preserved.
- Added optional async index rebuilds that fan a catalog rebuild out to the Magento message queue (one message per product batch, version-swapped only when complete) with a transactional outbox, per-minute dispatch/advance cron jobs and a broker-availability probe; falls back to the synchronous rebuild when no broker is configured.
- Extended product signal scoring with freshness (recency), return-rate, click-through and search-conversion terms and lifted the signal scale cap so strong products no longer saturate.
- Added search smoke/profile/recall diagnostic and corpus/benchmark/seed CLI commands that exercise the live SI + Discovery Filters result path through the Hub filter-index reader.
Requires 5
| Package | Constraint |
|---|---|
| magento/framework | >=103.0.7 <104.0.0 |
| magento/module-catalog-search | >=102.0.0 <103.0.0 |
| magento/module-search | >=101.1.0 <102.0.0 |
| php | >=8.1 |
| ppl/module-search-intelligence-core | ^1.3 |
Conflicts 1
| Package | Constraint |
|---|---|
| ppl/module-search-intelligence-hv | * |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from Pawel Pliousnin Digital Solutions
View vendorShared Search Intelligence engine, indexing, Magento integration and response contracts for the Luma and Hyva storefront adapters.
Standalone full-page-cache warmer for Magento 2: crawls category pages and configurable first product-list actions, including filters, sorting, page size, view mode and pagination, so shoppers reach warm built-in FPC or Varnish entries from the first clicks. Supports native Magento query-parameter navigation and PPL Discovery Filters without requiring another PPL module.
Foundation and anchor infrastructure for modular PPL admin reports; individual PPL report modules provide the actual reports.
Admin action board for Magento 2 that turns shop and PPL report signals into severity-scored task cards.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.