Skip to content

[Core] Support change of scoring algorithm/similarity at the hidden _category_name field level #3718

@rbayet

Description

@rbayet

PR #3712 introduces the ability to

  • change the scoring algorithm ("similarity") at the attribute level in their advanced properties
  • change the scoring algorithm for the collector fields ("search", "spelling", etc) through a Stores > Configuration setting

What might be missing is an additional setting to change it also for the _category_name field which is used when someone wants to boost hits in the products' category names.
My guess would be an additional / specific Stores Configuration setting, located just below the "Category Name Weight", and visible when the search weight is greater than 1 (I know how to do this in PHP with the DependencyFieldFactory but not sure how it can be done in system.xml) and re-using (most of) the wording of the other existing setting.

Ideal location in Stores > Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration, below this field
Image

The existing configuration field (down at the bottom of this section)
Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions