You are here

search_api.index.solr_search_index.yml in Search API Solr 8.2

tests/modules/search_api_solr_test/config/install/search_api.index.solr_search_index.yml

File

tests/modules/search_api_solr_test/config/install/search_api.index.solr_search_index.yml
View source
  1. id: solr_search_index
  2. name: 'Test index'
  3. description: 'An index used for testing'
  4. read_only: false
  5. field_settings:
  6. id:
  7. label: ID
  8. type: integer
  9. datasource_id: 'entity:entity_test_mulrev_changed'
  10. property_path: id
  11. name:
  12. label: Name
  13. type: text
  14. datasource_id: 'entity:entity_test_mulrev_changed'
  15. property_path: name
  16. boost: 5.0
  17. created:
  18. label: Authored on
  19. type: date
  20. datasource_id: 'entity:entity_test_mulrev_changed'
  21. property_path: created
  22. changed:
  23. label: Updated on
  24. type: date
  25. datasource_id: 'entity:entity_test_mulrev_changed'
  26. property_path: changed
  27. body:
  28. label: Body
  29. type: text
  30. datasource_id: 'entity:entity_test_mulrev_changed'
  31. property_path: body
  32. body_unstemmed:
  33. label: Body
  34. type: solr_text_unstemmed
  35. datasource_id: 'entity:entity_test_mulrev_changed'
  36. property_path: body
  37. body_suggest:
  38. label: Body
  39. type: solr_text_suggester
  40. datasource_id: 'entity:entity_test_mulrev_changed'
  41. property_path: body
  42. type:
  43. label: Type
  44. type: string
  45. datasource_id: 'entity:entity_test_mulrev_changed'
  46. property_path: type
  47. keywords:
  48. label: Keywords
  49. type: string
  50. datasource_id: 'entity:entity_test_mulrev_changed'
  51. property_path: keywords
  52. category:
  53. label: Category
  54. type: string
  55. datasource_id: 'entity:entity_test_mulrev_changed'
  56. property_path: category
  57. category_ngram:
  58. label: Category Ngram
  59. type: solr_text_ngram
  60. datasource_id: 'entity:entity_test_mulrev_changed'
  61. property_path: category
  62. category_ngram_string:
  63. label: Category Ngram String
  64. type: solr_string_ngram
  65. datasource_id: 'entity:entity_test_mulrev_changed'
  66. property_path: category
  67. width:
  68. label: Width
  69. type: decimal
  70. datasource_id: 'entity:entity_test_mulrev_changed'
  71. property_path: width
  72. processor_settings:
  73. add_url:
  74. weights:
  75. preprocess_index: -30
  76. aggregated_field:
  77. weights:
  78. add_properties: 20
  79. highlight:
  80. highlight: server
  81. highlight_partial: false
  82. excerpt: true
  83. excerpt_length: 256
  84. exclude_fields: { }
  85. prefix: '<strong>'
  86. suffix: '</strong>'
  87. weights:
  88. postprocess_query: 0
  89. rendered_item:
  90. weights:
  91. add_properties: 0
  92. pre_index_save: -10
  93. options:
  94. cron_limit: -1
  95. index_directly: false
  96. datasource_settings:
  97. 'entity:entity_test_mulrev_changed': { }
  98. tracker_settings:
  99. 'default': { }
  100. server: solr_search_server
  101. status: true
  102. langcode: en
  103. dependencies:
  104. config:
  105. - field.field.entity_test_mulrev_changed.article.body
  106. - field.field.entity_test_mulrev_changed.article.keywords
  107. - field.field.entity_test_mulrev_changed.article.category
  108. - field.field.entity_test_mulrev_changed.article.width
  109. - field.field.entity_test_mulrev_changed.item.body
  110. - field.field.entity_test_mulrev_changed.item.keywords
  111. - field.field.entity_test_mulrev_changed.item.category
  112. - field.field.entity_test_mulrev_changed.item.width
  113. - field.storage.entity_test_mulrev_changed.body
  114. - field.storage.entity_test_mulrev_changed.keywords
  115. - field.storage.entity_test_mulrev_changed.category
  116. - field.storage.entity_test_mulrev_changed.width
  117. - search_api.server.solr_search_server
  118. module:
  119. - entity_test
  120. third_party_settings:
  121. search_api_solr:
  122. finalize: false
  123. commit_before_finalize: false
  124. commit_after_finalize: false
  125. highlighter:
  126. maxAnalyzedChars: 51200
  127. fragmenter: regex
  128. regex:
  129. slop: 0.5
  130. pattern: blank
  131. maxAnalyzedChars: 10000
  132. usePhraseHighlighter: true
  133. highlightMultiTerm: true
  134. preserveMulti: false
  135. highlight:
  136. mergeContiguous: false
  137. requireFieldMatch: false
  138. snippets: 3
  139. fragsize: 0
  140. advanced:
  141. index_prefix: 'index_prefix'