diff --git a/composer.json b/composer.json index 7d28983b4..496134312 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "drupal/pathauto": "^1.13", "drupal/redirect": "^1.10", "drupal/redis": "^1.8", - "drupal/search_api": "^1.35", + "drupal/search_api": "^1.36", "drupal/search_api_solr": "^4.3", "drupal/seckit": "^2.0", "drupal/shield": "^1.8", diff --git a/web/modules/custom/ys_search/config/install/search_api.index.content.yml b/web/modules/custom/ys_search/config/install/search_api.index.content.yml index 0e42659e1..a5ada20e1 100644 --- a/web/modules/custom/ys_search/config/install/search_api.index.content.yml +++ b/web/modules/custom/ys_search/config/install/search_api.index.content.yml @@ -5,9 +5,8 @@ dependencies: - field.storage.node.body - search_api.server.solr module: - - search_api_solr - node - - search_api + - search_api_solr third_party_settings: search_api_solr: finalize: false @@ -43,6 +42,7 @@ third_party_settings: term_modifiers: slop: 3 fuzzy: 1 + fuzzy_analyzer: true advanced: index_prefix: '' collection: '' @@ -87,6 +87,7 @@ processor_settings: add_url: { } aggregated_field: { } auto_aggregated_fulltext_field: { } + custom_value: { } entity_type: { } language_with_fallback: { } rendered_item: { } @@ -96,6 +97,7 @@ tracker_settings: indexing_order: fifo options: cron_limit: 50 + delete_on_fail: true index_directly: true track_changes_in_references: true server: solr diff --git a/web/modules/custom/ys_search/config/install/views.view.search.yml b/web/modules/custom/ys_search/config/install/views.view.search.yml index ada4f7c7c..0535388d4 100644 --- a/web/modules/custom/ys_search/config/install/views.view.search.yml +++ b/web/modules/custom/ys_search/config/install/views.view.search.yml @@ -80,6 +80,7 @@ display: type: mini options: offset: 0 + pagination_heading_level: h4 items_per_page: 10 total_pages: null id: 0 @@ -110,7 +111,7 @@ display: type: none options: { } cache: - type: none + type: search_api_none options: { } empty: { } sorts: { } @@ -148,6 +149,7 @@ display: expose_fields: false placeholder: '' searched_fields_id: search_api_fulltext_searched_fields + value_maxlength: 128 is_grouped: false group_info: label: '' @@ -167,6 +169,12 @@ display: type: default row: type: search_api + options: + view_modes: + 'entity:node': + ':default': default + article: ':default' + page: ':default' query: type: search_api_query options: diff --git a/web/sites/default/default.settings.php b/web/sites/default/default.settings.php index 264597b16..90883ff46 100644 --- a/web/sites/default/default.settings.php +++ b/web/sites/default/default.settings.php @@ -730,6 +730,8 @@ * Provide a fully qualified class name here if you would like to provide an * alternate implementation YAML parser. The class must implement the * \Drupal\Component\Serialization\SerializationInterface interface. + * + * This setting is deprecated in Drupal 10.3 and removed in Drupal 11. */ # $settings['yaml_parser_class'] = NULL;