Skip to content

Commit

Permalink
Merge pull request #366 from UN-OCHA/cafuego/ops-9789-search-indexer-fix
Browse files Browse the repository at this point in the history


chore: Fix search_api_db and disable core search
  • Loading branch information
cafuego authored Nov 7, 2023
2 parents ac12c7e + 8c1c489 commit facf97e
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 827 deletions.
21 changes: 0 additions & 21 deletions config/block.block.searchform.yml

This file was deleted.

3 changes: 0 additions & 3 deletions config/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ module:
csp: 0
ctools: 0
datetime: 0
dblog: 0
ds_switch_view_mode: 0
dynamic_page_cache: 0
editor: 0
Expand Down Expand Up @@ -99,10 +98,8 @@ module:
redirect: 0
rest: 0
scrollup: 0
search: 0
search_api: 0
search_api_db: 0
search_api_db_defaults: 0
semanticviews: 0
serialization: 0
shortcut: 0
Expand Down
3 changes: 0 additions & 3 deletions config/dblog.settings.yml

This file was deleted.

1 change: 0 additions & 1 deletion config/language/es/search.page.node_search.yml

This file was deleted.

1 change: 0 additions & 1 deletion config/language/es/search.page.user_search.yml

This file was deleted.

1 change: 0 additions & 1 deletion config/language/fr/search.page.node_search.yml

This file was deleted.

1 change: 0 additions & 1 deletion config/language/fr/search.page.user_search.yml

This file was deleted.

18 changes: 0 additions & 18 deletions config/search.page.node_search.yml

This file was deleted.

14 changes: 0 additions & 14 deletions config/search.page.user_search.yml

This file was deleted.

22 changes: 0 additions & 22 deletions config/search.settings.yml

This file was deleted.

23 changes: 3 additions & 20 deletions config/search_api.index.default_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ status: true
dependencies:
config:
- field.storage.node.body
- field.storage.node.field_duel_reference
- field.storage.node.field_cbpf_menu
- field.storage.node.field_cerf_menu
- field.storage.node.field_duel_reference
- field.storage.node.field_page_type
- field.storage.node.field_tags
- search_api.server.default_server
- core.entity_view_mode.node.search_index
module:
- node
- user
Expand Down Expand Up @@ -94,7 +93,7 @@ field_settings:
label: Tags
datasource_id: 'entity:node'
property_path: field_tags
type: integer
type: text
dependencies:
config:
- field.storage.node.field_tags
Expand All @@ -105,17 +104,6 @@ field_settings:
indexed_locked: true
type_locked: true
hidden: true
rendered_item:
label: 'Rendered item'
property_path: rendered_item
type: text
configuration:
roles:
- anonymous
view_mode:
'entity:node':
article: search_index
page: search_index
status:
label: 'Publishing status'
datasource_id: 'entity:node'
Expand Down Expand Up @@ -201,8 +189,7 @@ processor_settings:
preprocess_index: -3
preprocess_query: -6
all_fields: false
fields:
- rendered_item
fields: { }
title: true
alt: true
tags:
Expand All @@ -217,7 +204,6 @@ processor_settings:
preprocess_query: -8
all_fields: false
fields:
- rendered_item
- title
language_with_fallback: { }
rendered_item:
Expand All @@ -230,7 +216,6 @@ processor_settings:
preprocess_query: -10
all_fields: false
fields:
- rendered_item
- title
stopwords:
- a
Expand Down Expand Up @@ -274,7 +259,6 @@ processor_settings:
preprocess_query: -5
all_fields: false
fields:
- rendered_item
- title
spaces: ''
ignored: ._-
Expand All @@ -286,7 +270,6 @@ processor_settings:
preprocess_query: -7
all_fields: false
fields:
- rendered_item
- title
tracker_settings:
default:
Expand Down
4 changes: 0 additions & 4 deletions config/user.role.administrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ dependencies:
- path
- pathauto
- redirect
- search
- system
_core:
default_config_hash: Om6FEO7vZZMkPIbVvfxtdkWerQ2PvQM4sWUd6Q3ZnfI
Expand Down Expand Up @@ -62,7 +61,6 @@ permissions:
- 'administer print'
- 'administer redirects'
- 'administer rules'
- 'administer search'
- 'administer shadowbox'
- 'administer site configuration'
- 'administer software updates'
Expand Down Expand Up @@ -134,9 +132,7 @@ permissions:
- 'override static_page revision option'
- 'override static_page sticky option'
- 'revert revisions'
- 'search content'
- 'select account cancellation method'
- 'use advanced search'
- 'use ctools import'
- 'use text format filtered_html'
- 'use text format full_html'
Expand Down
2 changes: 0 additions & 2 deletions config/user.role.anonymous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dependencies:
module:
- comment
- media
- search
- system
_core:
default_config_hash: pq_mEIu_B4widZN7Ap81iCJSjShFFdcL0jEiCi8VrDk
Expand All @@ -17,6 +16,5 @@ permissions:
- 'access PDF version'
- 'access comments'
- 'access content'
- 'search content'
- 'use hybridauth'
- 'view media'
2 changes: 0 additions & 2 deletions config/user.role.authenticated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependencies:
- comment
- filter
- media
- search
- system
_core:
default_config_hash: btW6TFHajhy7Eo6YUvdFiPh4TcPggo8GBXYctjV6zag
Expand All @@ -24,6 +23,5 @@ permissions:
- 'change own openid'
- 'change own password'
- 'edit own account'
- 'search content'
- 'use text format svg_embed'
- 'view media'
2 changes: 0 additions & 2 deletions config/user.role.editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ dependencies:
- filter
- node
- path
- search
- system
id: editor
label: editor
Expand All @@ -38,7 +37,6 @@ permissions:
- 'edit own static_page content'
- 'override faq published option'
- 'override static_page published option'
- 'search content'
- 'use text format filtered_html'
- 'use text format full_html'
- 'use text format svg_embed'
Loading

0 comments on commit facf97e

Please sign in to comment.