File details- product_search_attribute_map.csv

Edit on GitHub

This article contains content of the product_search_attribute_map.csv file to configure Product Search Attribute Map information on your Spryker Demo Shop.

Headers & Mandatory Fields

These are the header fields to be included in the .csv file:

Field Name Mandatory Type Other Requirements/Comments Description
attribute_key Yes String N/A* Identifier of an attribute.
target_field No String Any constant from the class src/Generated/Shared/Search/PageIndexMap.php Elasticsearch property.
*N/A: Not applicable.


This file has the following dependency:

Recommendations & other information This file maps the product attributes that are imported in the product_attribute_key.csv file with Elasticsearch-specific properties.

Template File & Content Example

A template and an example of the product_search_attribute_map.csv file can be downloaded here:

File Description
product_search_attribute_map.csv template Product Search Attribute Map .csv template file (empty content, contains headers only).
product_search_attribute_map.csv Product Search Attribute Map .csv file containing a Demo Shop data sample.