Browse Source

exported sapi d8 conf

Bachir Soussi Chiadmi 4 years ago
parent
commit
26390343d0
2 changed files with 78 additions and 5 deletions
  1. 33 5
      config/sync/search_api.index.ddb_fr.yml
  2. 45 0
      config/sync/search_api.server.materio.yml

+ 33 - 5
config/sync/search_api.index.ddb_fr.yml

@@ -1,7 +1,11 @@
 uuid: e608f1e1-47ac-4071-a222-2a0f0a3e265f
 langcode: en
-status: false
+status: true
 dependencies:
+  module:
+    - search_api_solr
+    - node
+    - search_api
   config:
     - field.storage.node.body
     - field.storage.node.field_distributor
@@ -11,9 +15,32 @@ dependencies:
     - field.storage.node.field_short_description
     - field.storage.node.field_tags
     - field.storage.node.field_thesaurus
-  module:
-    - node
-    - search_api
+    - search_api.server.materio
+third_party_settings:
+  search_api_solr:
+    finalize: false
+    commit_before_finalize: false
+    commit_after_finalize: false
+    multilingual:
+      limit_to_content_language: false
+      include_language_independent: true
+    highlighter:
+      maxAnalyzedChars: 51200
+      fragmenter: gap
+      regex:
+        slop: 0.5
+        pattern: blank
+        maxAnalyzedChars: 10000
+      usePhraseHighlighter: true
+      highlightMultiTerm: true
+      preserveMulti: false
+      highlight:
+        mergeContiguous: false
+        requireFieldMatch: false
+        snippets: 3
+        fragsize: 0
+    advanced:
+      index_prefix: ''
 id: ddb_fr
 name: ddb_fr
 description: ''
@@ -196,6 +223,7 @@ processor_settings:
       preprocess_index: -20
       preprocess_query: -20
   rendered_item: {  }
+  solr_date_range: {  }
   tokenizer:
     all_fields: false
     fields:
@@ -243,4 +271,4 @@ tracker_settings:
 options:
   index_directly: true
   cron_limit: 50
-server: ''
+server: materio

+ 45 - 0
config/sync/search_api.server.materio.yml

@@ -0,0 +1,45 @@
+uuid: bbb91a3d-15ff-46b6-b339-4332eb1a8f7f
+langcode: en
+status: true
+dependencies:
+  config:
+    - search_api_solr.solr_field_type.text_edge_und_7_0_0
+    - search_api_solr.solr_field_type.text_edgestring_und_6_0_0
+    - search_api_solr.solr_field_type.text_en_7_0_0
+    - search_api_solr.solr_field_type.text_fr_7_0_0
+    - search_api_solr.solr_field_type.text_ngram_und_7_0_0
+    - search_api_solr.solr_field_type.text_ngramstring_und_6_0_0
+    - search_api_solr.solr_field_type.text_phonetic_en_7_0_0
+    - search_api_solr.solr_field_type.text_phonetic_fr_7_0_0
+    - search_api_solr.solr_field_type.text_phonetic_und_7_0_0
+    - search_api_solr.solr_field_type.text_und_7_0_0
+  module:
+    - search_api_solr
+id: materio
+name: 'materio solr'
+description: ''
+backend: search_api_solr
+backend_config:
+  connector: standard
+  connector_config:
+    scheme: http
+    host: solr-new
+    port: 8983
+    path: /
+    core: materio
+    timeout: 5
+    index_timeout: 5
+    optimize_timeout: 10
+    finalize_timeout: 30
+    commit_within: 1000
+    solr_version: '8'
+    http_method: AUTO
+    jmx: false
+    solr_install_dir: /opt/solr/
+  retrieve_data: false
+  highlight_data: false
+  skip_schema_check: false
+  server_prefix: ''
+  domain: generic
+  optimize: false
+  site_hash: false