created sapi server and first index (enquetes); created ajax search request controller

This commit is contained in:
2023-08-14 13:46:56 +02:00
parent 1a13e60a38
commit 43c860a7c9
9 changed files with 651 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ module:
ouatt_admin: 0
ouatt_graphql: 0
ouatt_puissanceagir: 0
ouatt_searchapi: 0
ouatt_users: 0
page_cache: 0
pagerer: 0

View File

@@ -0,0 +1,225 @@
uuid: a7a2d801-6649-4fc0-8bd7-e48821669e9a
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_caillou
- field.storage.node.field_description
- field.storage.node.field_action
- field.storage.node.field_entite
- field.storage.paragraph.field_entite
- field.storage.node.field_sources
- field.storage.paragraph.field_description
- field.storage.node.field_menace_maintien
- field.storage.node.field_recit_colophon
- search_api.server.ouatterrir
module:
- node
- paragraphs
- search_api
id: enquetes
name: enquetes
description: ''
read_only: false
field_settings:
field_action:
label: 'Entités » Paragraph » Entité » Contenu » Action'
datasource_id: 'entity:node'
property_path: 'field_entite:entity:field_entite:entity:field_action'
type: text
dependencies:
config:
- field.storage.node.field_action
- field.storage.node.field_entite
- field.storage.paragraph.field_entite
module:
- node
- paragraphs
field_caillou:
label: Caillou
datasource_id: 'entity:node'
property_path: field_caillou
type: text
dependencies:
config:
- field.storage.node.field_caillou
field_description:
label: Description
datasource_id: 'entity:node'
property_path: field_description
type: text
dependencies:
config:
- field.storage.node.field_description
field_menace_maintien:
label: 'Entités » Paragraph » Entité » Contenu » Menace/Maintien'
datasource_id: 'entity:node'
property_path: 'field_entite:entity:field_entite:entity:field_menace_maintien'
type: text
dependencies:
config:
- field.storage.node.field_entite
- field.storage.node.field_menace_maintien
- field.storage.paragraph.field_entite
module:
- node
- paragraphs
field_recit_colophon:
label: 'recit colophon'
datasource_id: 'entity:node'
property_path: field_recit_colophon
type: text
dependencies:
config:
- field.storage.node.field_recit_colophon
nid:
label: 'Identifiant (ID)'
datasource_id: 'entity:node'
property_path: nid
type: integer
dependencies:
module:
- node
node_grants:
label: 'Information d''accès du nœud.'
property_path: search_api_node_grants
type: string
indexed_locked: true
type_locked: true
hidden: true
processed:
label: 'Entités » Paragraph » Entité » Contenu » Experiences vécues » Paragraph » Experience vécue » Texte traité'
datasource_id: 'entity:node'
property_path: 'field_entite:entity:field_entite:entity:field_sources:entity:field_description:processed'
type: text
dependencies:
config:
- field.storage.node.field_entite
- field.storage.node.field_sources
- field.storage.paragraph.field_description
- field.storage.paragraph.field_entite
module:
- node
- paragraphs
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: string
dependencies:
module:
- node
title_1:
label: Title
datasource_id: 'entity:node'
property_path: title
type: string
dependencies:
module:
- node
title_2:
label: 'Entités » Paragraph » Entité » Contenu » Title'
datasource_id: 'entity:node'
property_path: 'field_entite:entity:field_entite:entity:title'
type: string
dependencies:
config:
- field.storage.node.field_entite
- field.storage.paragraph.field_entite
module:
- node
- paragraphs
uid:
label: uid
datasource_id: 'entity:node'
property_path: uid
type: integer
indexed_locked: true
type_locked: true
dependencies:
module:
- node
uuid:
label: 'Identifiant universel unique (UUID)'
datasource_id: 'entity:node'
property_path: uuid
type: string
dependencies:
module:
- node
datasource_settings:
'entity:node':
bundles:
default: false
selected:
- concernement
- entite
languages:
default: true
selected: { }
processor_settings:
add_url: { }
aggregated_field: { }
content_access:
weights:
preprocess_query: -30
entity_status: { }
entity_type: { }
html_filter:
weights:
preprocess_index: -15
preprocess_query: -15
all_fields: false
fields:
- field_action
- field_caillou
- field_description
- field_menace_maintien
- field_recit_colophon
- processed
- title
- title_1
- title_2
- uuid
title: true
alt: true
tags:
b: 2
em: 1
h1: 5
h2: 3
h3: 2
strong: 2
u: 1
ignorecase:
weights:
preprocess_index: -20
preprocess_query: -20
all_fields: false
fields:
- field_caillou
- field_description
- field_recit_colophon
- title
- title_1
- uuid
language_with_fallback: { }
rendered_item: { }
tracker_settings:
default:
indexing_order: lifo
options:
cron_limit: 50
index_directly: true
track_changes_in_references: true
server: ouatterrir

View File

@@ -0,0 +1,14 @@
uuid: 0f20c7d2-bede-4477-bacf-eca48d6a67fa
langcode: fr
status: true
dependencies:
module:
- search_api_db
id: ouatterrir
name: ouatterrir
description: ''
backend: search_api_db
backend_config:
database: 'default:default'
min_chars: 4
matching: partial

View File

@@ -12,6 +12,7 @@ dependencies:
- graphql
- group
- node
- ouatt_searchapi
- system
- workflow
_core:
@@ -25,6 +26,7 @@ permissions:
- 'access devel information'
- 'access group overview'
- 'access kint'
- 'access ouatt search'
- 'access synonyms entity autocomplete'
- 'create confidentialite workflow_transition'
- 'create corpus_documents workflow_transition'

View File

@@ -15,6 +15,7 @@ dependencies:
- graphql
- group
- node
- ouatt_searchapi
- system
- workflow
_core:
@@ -28,6 +29,7 @@ permissions:
- 'access devel information'
- 'access group overview'
- 'access kint'
- 'access ouatt search'
- 'access own confidentialite workflow_transion overview'
- 'access synonyms entity autocomplete'
- 'add composition entities'