Skip to content

Discovery changelog

Rewritten as a store-independent module for Hyvä + ElasticSuite.

  • Suggestion providers (Slova\Discovery\Api\SuggestionProviderInterface) collected by a pool configured in di.xml; built-in providers for products, categories and attribute options.
  • Categories from the ElasticSuite category index, with their parent path and ElasticSuite’s Display in Autocomplete respected.
  • Attribute options (e.g. brands) with their product count; only options with products visible in search.
  • Inside-word matching (Match Inside Words, on by default).
  • Ranking by relevance with per-field weights (Product Fields), configurable in the admin.
  • Two-column dropdown when wide, one column when narrow; separate product counts for each.
  • Keyboard navigation and ARIA combobox semantics.
  • Price resolver interface (Slova\Discovery\Api\ProductPriceResolverInterface).
  • Clean uninstall with module:uninstall --remove-data.
  • Products follow the quick search rules (visibility in search, search blacklist) instead of the category listing rules.
  • The header search is Hyvä’s header-search block; disabled for a store view, ElasticSuite’s own autocomplete is shown.
  • Styles and script are static files; the Alpine component is CSP-compatible.
  • The autocomplete response is a list of sections: {"sections": [{code, type, title, items}]}.
  • Words whose stem is shorter than the minimum prefix length were missing from the index.
  • Field weights had no effect on the order of products.
  • Minimum and maximum prefix length settings were not applied.
  • Installed through Composer, the module was not registered.

First release.