Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 474 Bytes

tips.md

File metadata and controls

17 lines (12 loc) · 474 Bytes

Tips

Add prefix for index names and aliases

In the config/packages/monsieurbiz_sylius_search_plugin.yaml file, add the prefix node for documents that need a prefix in the names of indexes and aliases.

Example, for the products index:

imports:
  - { resource: "@MonsieurBizSyliusSearchPlugin/Resources/config/config.yaml" }

+monsieurbiz_sylius_search:
+  documents:
+    monsieurbiz_product:
+     prefix: 'myproject' # define a custom index prefix