-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(IYY-263): Add new search index for CAS content, remove path from…
… search view, replace with custom dynamic route and controller, update header settings form with new option to show CAS titles in search
- Loading branch information
1 parent
1733237
commit 0030acb
Showing
10 changed files
with
558 additions
and
60 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
165 changes: 165 additions & 0 deletions
165
web/profiles/custom/yalesites_profile/config/sync/search_api.index.secure_index.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,165 @@ | ||
uuid: eaac8aa4-ebe9-48a6-8d40-2aefff92390f | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.field_teaser_text | ||
- search_api.server.database_server | ||
module: | ||
- node | ||
- search_api | ||
- search_api_exclude | ||
- search_api_html_element_filter | ||
id: secure_index | ||
name: 'Secure Index' | ||
description: '' | ||
read_only: false | ||
field_settings: | ||
field_teaser_text: | ||
label: 'Teaser Text' | ||
datasource_id: 'entity:node' | ||
property_path: field_teaser_text | ||
type: text | ||
dependencies: | ||
config: | ||
- field.storage.node.field_teaser_text | ||
rendered_item: | ||
label: 'Rendered HTML output' | ||
property_path: rendered_item | ||
type: text | ||
configuration: | ||
roles: | ||
- authenticated | ||
view_mode: | ||
'entity:node': | ||
event: default | ||
page: default | ||
post: default | ||
profile: default | ||
status: | ||
label: Published | ||
datasource_id: 'entity:node' | ||
property_path: status | ||
type: boolean | ||
dependencies: | ||
module: | ||
- node | ||
type: | ||
label: 'Content type' | ||
datasource_id: 'entity:node' | ||
property_path: type | ||
type: string | ||
dependencies: | ||
module: | ||
- node | ||
uid: | ||
label: 'Authored by' | ||
datasource_id: 'entity:node' | ||
property_path: uid | ||
type: integer | ||
dependencies: | ||
module: | ||
- node | ||
datasource_settings: | ||
'entity:node': | ||
bundles: | ||
default: true | ||
selected: { } | ||
languages: | ||
default: true | ||
selected: { } | ||
processor_settings: | ||
add_url: { } | ||
aggregated_field: { } | ||
custom_value: { } | ||
entity_status: { } | ||
entity_type: { } | ||
highlight: | ||
weights: | ||
postprocess_query: 0 | ||
prefix: '<strong style="background-color: yellow;">' | ||
suffix: '</strong>' | ||
excerpt: true | ||
excerpt_always: true | ||
excerpt_length: 256 | ||
exclude_fields: { } | ||
highlight: always | ||
highlight_partial: false | ||
html_element_filter: | ||
weights: | ||
postprocess_query: -30 | ||
preprocess_index: -50 | ||
all_fields: 0 | ||
fields: | ||
- field_teaser_text | ||
- rendered_item | ||
- type | ||
css_selectors: .visually-hidden | ||
html_filter: | ||
weights: | ||
preprocess_index: -49 | ||
preprocess_query: -48 | ||
all_fields: false | ||
fields: | ||
- field_teaser_text | ||
- rendered_item | ||
title: true | ||
alt: true | ||
tags: | ||
b: 2 | ||
h1: 5 | ||
h2: 3 | ||
h3: 2 | ||
strong: 2 | ||
ignorecase: | ||
weights: | ||
preprocess_index: -48 | ||
preprocess_query: -47 | ||
all_fields: true | ||
fields: | ||
- field_teaser_text | ||
- rendered_item | ||
- type | ||
language_with_fallback: { } | ||
node_exclude: { } | ||
rendered_item: { } | ||
stemmer: | ||
weights: | ||
preprocess_index: -42 | ||
preprocess_query: -42 | ||
all_fields: false | ||
fields: | ||
- field_teaser_text | ||
- rendered_item | ||
exceptions: | ||
mexican: mexic | ||
texan: texa | ||
tokenizer: | ||
weights: | ||
preprocess_index: -45 | ||
preprocess_query: -44 | ||
all_fields: false | ||
fields: | ||
- field_teaser_text | ||
- rendered_item | ||
spaces: '' | ||
ignored: ._- | ||
overlap_cjk: 1 | ||
minimum_word_size: '3' | ||
transliteration: | ||
weights: | ||
preprocess_index: -47 | ||
preprocess_query: -46 | ||
all_fields: true | ||
fields: | ||
- field_teaser_text | ||
- rendered_item | ||
- type | ||
tracker_settings: | ||
default: | ||
indexing_order: fifo | ||
options: | ||
cron_limit: 50 | ||
index_directly: true | ||
track_changes_in_references: true | ||
server: database_server |
Oops, something went wrong.