|
19 | 19 | }, |
20 | 20 | "elasticsearch": { |
21 | 21 | "host": "localhost", |
| 22 | + "index": "vue_storefront_catalog", |
22 | 23 | "port": 9200, |
23 | 24 | "protocol": "http", |
| 25 | + "requestTimeout": 5000, |
24 | 26 | "min_score": 0.01, |
25 | 27 | "indices": [ |
26 | 28 | "vue_storefront_catalog", |
|
36 | 38 | "taxrule", |
37 | 39 | "review" |
38 | 40 | ], |
39 | | - "apiVersion": "5.6" |
| 41 | + "apiVersion": "5.6", |
| 42 | + |
| 43 | + "searchScoring": { |
| 44 | + "attributes": { |
| 45 | + "attribute_code": { |
| 46 | + "scoreValues": { "attribute_value": { "weight": 1 } } |
| 47 | + } |
| 48 | + }, |
| 49 | + "fuzziness": 2, |
| 50 | + "cutoff_frequency": 0.01, |
| 51 | + "max_expansions": 3, |
| 52 | + "minimum_should_match": "75%", |
| 53 | + "prefix_length": 2, |
| 54 | + "boost_mode": "multiply", |
| 55 | + "score_mode": "multiply", |
| 56 | + "max_boost": 100, |
| 57 | + "function_min_score": 1 |
| 58 | + }, |
| 59 | + "searchableAttributes": { |
| 60 | + "name": { |
| 61 | + "boost": 4 |
| 62 | + }, |
| 63 | + "sku": { |
| 64 | + "boost": 2 |
| 65 | + }, |
| 66 | + "category.name": { |
| 67 | + "boost": 1 |
| 68 | + } |
| 69 | + } |
| 70 | + }, |
| 71 | + "products": { |
| 72 | + "fieldsToCompress": ["max_regular_price", "max_price", "max_regular_price", "minimal_regular_price", "final_price", "price", "special_price", "original_final_price", "original_price", "original_special_price", "final_price_incl_tax", "price_incl_tax", "special_price_incl_tax", "final_price_tax", "price_tax", "special_price_tax", "image", "small_image", "thumbnail"], |
| 73 | + "fieldsToCompact": { |
| 74 | + "minimal_price": "mp", |
| 75 | + "has_options": "ho", |
| 76 | + "url_key": "u", |
| 77 | + "status": "s", |
| 78 | + "required_options": "ro", |
| 79 | + "name": "nm", |
| 80 | + "tax_class_id": "tci", |
| 81 | + "description": "desc", |
| 82 | + "minimal_regular_price": "mrp", |
| 83 | + "final_price": "fp", |
| 84 | + "price": "p", |
| 85 | + "special_price": "sp", |
| 86 | + "original_final_price": "ofp", |
| 87 | + "original_price": "op", |
| 88 | + "original_special_price": "osp", |
| 89 | + "final_price_incl_tax": "fpit", |
| 90 | + "original_price_incl_tax": "opit", |
| 91 | + "price_incl_tax": "pit", |
| 92 | + "special_price_incl_tax": "spit", |
| 93 | + "final_price_tax": "fpt", |
| 94 | + "price_tax": "pt", |
| 95 | + "special_price_tax": "spt", |
| 96 | + "original_price_tax": "opt", |
| 97 | + "image": "i", |
| 98 | + "small_image": "si", |
| 99 | + "thumbnail": "t" |
| 100 | + }, |
| 101 | + "filterFieldMapping": { |
| 102 | + "category.name": "category.name.keyword" |
| 103 | + }, |
| 104 | + "filterAggregationSize": { |
| 105 | + "default": 10, |
| 106 | + "size": 10, |
| 107 | + "color": 10 |
| 108 | + }, |
| 109 | + "priceFilterKey": "final_price", |
| 110 | + "priceFilters": { |
| 111 | + "ranges": [ |
| 112 | + { "from": 0, "to": 50 }, |
| 113 | + { "from": 50, "to": 100 }, |
| 114 | + { "from": 100, "to": 150 }, |
| 115 | + { "from": 150 } |
| 116 | + ] |
| 117 | + } |
| 118 | + }, |
| 119 | + "varnish": { |
| 120 | + "host": "185.246.52.88", |
| 121 | + "port": 80, |
| 122 | + "method": "BAN", |
| 123 | + "enabled": false |
40 | 124 | }, |
41 | 125 | "redis": { |
42 | 126 | "host": "localhost", |
|
76 | 160 | "tax": { |
77 | 161 | "defaultCountry": "DE", |
78 | 162 | "defaultRegion": "", |
79 | | - "deprecatedPriceFieldsSupport": true, |
| 163 | + "deprecatedPriceFieldsSupport": false, |
80 | 164 | "calculateServerSide": true, |
81 | 165 | "sourcePriceIncludesTax": false, |
82 | 166 | "finalPriceIncludesTax": true, |
|
113 | 197 | "defaultRegion": "", |
114 | 198 | "calculateServerSide": true, |
115 | 199 | "sourcePriceIncludesTax": false, |
116 | | - "deprecatedPriceFieldsSupport": true, |
| 200 | + "deprecatedPriceFieldsSupport": false, |
117 | 201 | "finalPriceIncludesTax": true, |
118 | 202 | "userGroupId": null, |
119 | 203 | "useOnlyDefaultUserGroupId": false |
|
143 | 227 | "usePlatformTotals": true, |
144 | 228 | "setConfigurableProductOptions": true, |
145 | 229 | "sourcePriceIncludesTax": false, |
146 | | - "deprecatedPriceFieldsSupport": true, |
| 230 | + "deprecatedPriceFieldsSupport": false, |
147 | 231 | "finalPriceIncludesTax": false, |
148 | 232 | "userGroupId": null, |
149 | 233 | "useOnlyDefaultUserGroupId": false |
|
255 | 339 | "includeFields": [ "children_data", "id", "children_count", "sku", "name", "is_active", "parent_id", "level", "url_key" ] |
256 | 340 | }, |
257 | 341 | "attribute": { |
258 | | - "includeFields": [ "attribute_code", "id", "entity_type_id", "options", "default_value", "is_user_defined", "frontend_label", "attribute_id", "default_frontend_label", "is_visible_on_front", "is_visible", "is_comparable" ] |
| 342 | + "includeFields": [ "attribute_code", "id", "entity_type_id", "options", "default_value", "is_user_defined", "frontend_label", "attribute_id", "default_frontend_label", "is_visible_on_front", "is_visible", "is_comparable" ], |
| 343 | + "loadByAttributeMetadata": false |
259 | 344 | }, |
260 | 345 | "productList": { |
261 | 346 | "sort": "", |
|
282 | 367 | "description": 1, |
283 | 368 | "sku": 1, |
284 | 369 | "configurable_children.sku": 1 |
| 370 | + }, |
| 371 | + "urlModule": { |
| 372 | + "map": { |
| 373 | + "includeFields": ["url_path", "identifier", "id", "slug", "sku", "type_id"], |
| 374 | + "searchedFields": ["url_path", "identifier"], |
| 375 | + "searchedEntities": ["product", "category", "cms_page"] |
| 376 | + } |
285 | 377 | } |
286 | 378 | } |
0 commit comments