How to make storefront search also search product number, ean, customfields, etc?

Is there any guide on how shopware 6 storefront search works?

In a subscriber to ProductSuggestResultEvent how to make the search also find products according to any product field that you need?

1 „Gefällt mir“