-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c13f13
commit cd28c66
Showing
17 changed files
with
676 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 132 additions & 0 deletions
132
docroot/themes/contrib/civictheme/config/optional/search_api.index.civictheme_content.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.field_c_n_summary | ||
- field.storage.node.field_c_n_components | ||
- field.storage.paragraph.field_c_p_content | ||
- field.storage.paragraph.field_c_p_summary | ||
- field.storage.paragraph.field_c_p_title | ||
- search_api.server.civictheme_database | ||
module: | ||
- paragraphs | ||
- node | ||
- search_api | ||
id: civictheme_content | ||
name: Content | ||
description: '' | ||
read_only: false | ||
field_settings: | ||
field_c_n_summary: | ||
label: Summary | ||
datasource_id: 'entity:node' | ||
property_path: field_c_n_summary | ||
type: text | ||
dependencies: | ||
config: | ||
- field.storage.node.field_c_n_summary | ||
field_c_p_content: | ||
label: 'Components » Paragraph » Content » Processed text' | ||
datasource_id: 'entity:node' | ||
property_path: 'field_c_n_components:entity:field_c_p_content:processed' | ||
type: text | ||
dependencies: | ||
config: | ||
- field.storage.node.field_c_n_components | ||
- field.storage.paragraph.field_c_p_content | ||
module: | ||
- paragraphs | ||
field_c_p_summary: | ||
label: 'Components » Paragraph » Summary' | ||
datasource_id: 'entity:node' | ||
property_path: 'field_c_n_components:entity:field_c_p_summary' | ||
type: text | ||
dependencies: | ||
config: | ||
- field.storage.node.field_c_n_components | ||
- field.storage.paragraph.field_c_p_summary | ||
module: | ||
- paragraphs | ||
field_c_p_title: | ||
label: 'Components » Paragraph » Title' | ||
datasource_id: 'entity:node' | ||
property_path: 'field_c_n_components:entity:field_c_p_title' | ||
type: text | ||
dependencies: | ||
config: | ||
- field.storage.node.field_c_n_components | ||
- field.storage.paragraph.field_c_p_title | ||
module: | ||
- paragraphs | ||
node_grants: | ||
label: 'Node access information' | ||
property_path: search_api_node_grants | ||
type: string | ||
indexed_locked: true | ||
type_locked: true | ||
hidden: true | ||
status: | ||
label: status | ||
datasource_id: 'entity:node' | ||
property_path: status | ||
type: boolean | ||
indexed_locked: true | ||
type_locked: true | ||
dependencies: | ||
module: | ||
- node | ||
title: | ||
label: Title | ||
datasource_id: 'entity:node' | ||
property_path: title | ||
type: text | ||
dependencies: | ||
module: | ||
- node | ||
uid: | ||
label: uid | ||
datasource_id: 'entity:node' | ||
property_path: uid | ||
type: integer | ||
indexed_locked: true | ||
type_locked: true | ||
dependencies: | ||
module: | ||
- node | ||
datasource_settings: | ||
'entity:node': | ||
bundles: | ||
default: true | ||
selected: | ||
- civictheme_alert | ||
languages: | ||
default: true | ||
selected: { } | ||
processor_settings: | ||
add_url: { } | ||
aggregated_field: { } | ||
content_access: | ||
weights: | ||
preprocess_query: -30 | ||
entity_type: { } | ||
ignorecase: | ||
weights: | ||
preprocess_index: -20 | ||
preprocess_query: -20 | ||
all_fields: false | ||
fields: | ||
- field_c_n_summary | ||
- field_c_p_content | ||
- field_c_p_summary | ||
- field_c_p_title | ||
- title | ||
language_with_fallback: { } | ||
rendered_item: { } | ||
tracker_settings: | ||
default: | ||
indexing_order: fifo | ||
options: | ||
cron_limit: 50 | ||
index_directly: true | ||
track_changes_in_references: true | ||
server: civictheme_database |
13 changes: 13 additions & 0 deletions
13
docroot/themes/contrib/civictheme/config/optional/search_api.server.civictheme_database.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- search_api_db | ||
id: civictheme_database | ||
name: Database | ||
description: '' | ||
backend: search_api_db | ||
backend_config: | ||
database: 'default:default' | ||
min_chars: 1 | ||
matching: words |
26 changes: 26 additions & 0 deletions
26
docroot/themes/contrib/civictheme/config/optional/search_api.settings.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
default_cron_limit: 50 | ||
cron_worker_runtime: 15 | ||
default_tracker: default | ||
tracking_page_size: 100 | ||
boost_factors: | ||
- !!float 0 | ||
- 0.1 | ||
- 0.2 | ||
- 0.3 | ||
- 0.5 | ||
- 0.6 | ||
- 0.7 | ||
- 0.8 | ||
- 0.9 | ||
- !!float 1 | ||
- 1.1 | ||
- 1.2 | ||
- 1.3 | ||
- 1.4 | ||
- 1.5 | ||
- !!float 2 | ||
- !!float 3 | ||
- !!float 5 | ||
- !!float 8 | ||
- !!float 13 | ||
- !!float 21 |
1 change: 1 addition & 0 deletions
1
docroot/themes/contrib/civictheme/config/optional/search_api_db.settings.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
autocomplete_max_occurrences: 0.9 |
Oops, something went wrong.