You are here

search_api.index.products.yml in Commerce Demo 8.2

Same filename and directory in other branches
  1. 8 config/install/search_api.index.products.yml
config/install/search_api.index.products.yml

File

config/install/search_api.index.products.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - field.storage.commerce_product.field_product_categories
  6. - field.storage.commerce_product.field_brand
  7. - field.storage.commerce_product.field_special_categories
  8. - search_api.server.database
  9. module:
  10. - taxonomy
  11. - search_api
  12. - commerce_product
  13. id: products
  14. name: Products
  15. description: ''
  16. read_only: false
  17. field_settings:
  18. brand_name:
  19. label: 'Brand » Taxonomy term » Name'
  20. datasource_id: 'entity:commerce_product'
  21. property_path: 'field_brand:entity:name'
  22. type: text
  23. boost: !!float 2
  24. dependencies:
  25. config:
  26. - field.storage.commerce_product.field_brand
  27. module:
  28. - taxonomy
  29. category_name:
  30. label: 'Categories » Taxonomy term » Name'
  31. datasource_id: 'entity:commerce_product'
  32. property_path: 'field_product_categories:entity:name'
  33. type: text
  34. boost: !!float 2
  35. dependencies:
  36. config:
  37. - field.storage.commerce_product.field_product_categories
  38. module:
  39. - taxonomy
  40. created:
  41. label: Created
  42. datasource_id: 'entity:commerce_product'
  43. property_path: created
  44. type: date
  45. field_brand:
  46. label: Brand
  47. datasource_id: 'entity:commerce_product'
  48. property_path: field_brand
  49. type: string
  50. dependencies:
  51. config:
  52. - field.storage.commerce_product.field_brand
  53. field_product_categories:
  54. label: Categories
  55. datasource_id: 'entity:commerce_product'
  56. property_path: field_product_categories
  57. type: string
  58. dependencies:
  59. config:
  60. - field.storage.commerce_product.field_product_categories
  61. field_special_categories:
  62. label: 'Special categories'
  63. datasource_id: 'entity:commerce_product'
  64. property_path: field_special_categories
  65. type: string
  66. dependencies:
  67. config:
  68. - field.storage.commerce_product.field_special_categories
  69. product_id:
  70. label: ID
  71. datasource_id: 'entity:commerce_product'
  72. property_path: product_id
  73. type: integer
  74. special_name:
  75. label: 'Special categories » Taxonomy term » Name'
  76. datasource_id: 'entity:commerce_product'
  77. property_path: 'field_special_categories:entity:name'
  78. type: text
  79. boost: !!float 2
  80. dependencies:
  81. config:
  82. - field.storage.commerce_product.field_special_categories
  83. module:
  84. - taxonomy
  85. title:
  86. label: Title
  87. datasource_id: 'entity:commerce_product'
  88. property_path: title
  89. type: text
  90. boost: !!float 5
  91. title_1:
  92. label: 'Title (for sorting)'
  93. datasource_id: 'entity:commerce_product'
  94. property_path: title
  95. type: string
  96. type:
  97. label: 'Product type'
  98. datasource_id: 'entity:commerce_product'
  99. property_path: type
  100. type: string
  101. datasource_settings:
  102. 'entity:commerce_product':
  103. bundles:
  104. default: true
  105. selected: { }
  106. languages:
  107. default: true
  108. selected: { }
  109. processor_settings:
  110. add_url: { }
  111. aggregated_field: { }
  112. entity_status: { }
  113. hierarchy:
  114. fields:
  115. field_product_categories: taxonomy_term-parent
  116. weights:
  117. preprocess_index: -45
  118. ignorecase:
  119. all_fields: false
  120. fields:
  121. - field_brand
  122. - field_product_categories
  123. - field_special_categories
  124. - title
  125. - type
  126. weights:
  127. preprocess_index: -20
  128. preprocess_query: -20
  129. rendered_item: { }
  130. tracker_settings:
  131. default:
  132. indexing_order: fifo
  133. options:
  134. index_directly: true
  135. cron_limit: 50
  136. server: database