re-created the db index in search_api

This commit is contained in:
Bachir Soussi Chiadmi 2019-05-28 16:44:23 +02:00
parent 26390343d0
commit 42fc4e290e
1 changed files with 96 additions and 158 deletions

View File

@ -1,24 +1,22 @@
uuid: e608f1e1-47ac-4071-a222-2a0f0a3e265f uuid: 9044a42a-bf11-44ba-8b27-fa38d99f8dba
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- search_api_solr - search_api_solr
- node - node
- taxonomy
- search_api - search_api
config: config:
- field.storage.node.body
- field.storage.node.field_distributor
- field.storage.node.field_famille - field.storage.node.field_famille
- field.storage.node.field_manufacturer - field.storage.node.body
- field.storage.node.field_reference
- field.storage.node.field_short_description
- field.storage.node.field_tags - field.storage.node.field_tags
- field.storage.taxonomy_term.field_synonyms
- field.storage.node.field_thesaurus - field.storage.node.field_thesaurus
- search_api.server.materio - search_api.server.materio
third_party_settings: third_party_settings:
search_api_solr: search_api_solr:
finalize: false finalize: true
commit_before_finalize: false commit_before_finalize: false
commit_after_finalize: false commit_after_finalize: false
multilingual: multilingual:
@ -31,8 +29,8 @@ third_party_settings:
slop: 0.5 slop: 0.5
pattern: blank pattern: blank
maxAnalyzedChars: 10000 maxAnalyzedChars: 10000
usePhraseHighlighter: true usePhraseHighlighter: false
highlightMultiTerm: true highlightMultiTerm: false
preserveMulti: false preserveMulti: false
highlight: highlight:
mergeContiguous: false mergeContiguous: false
@ -41,94 +39,19 @@ third_party_settings:
fragsize: 0 fragsize: 0
advanced: advanced:
index_prefix: '' index_prefix: ''
id: ddb_fr id: database
name: ddb_fr name: database
description: '' description: ''
read_only: false read_only: false
field_settings: field_settings:
body:
label: Description
datasource_id: 'entity:node'
property_path: body
type: text
dependencies:
config:
- field.storage.node.body
changed:
label: Changed
datasource_id: 'entity:node'
property_path: changed
type: date
dependencies:
module:
- node
field_distributor:
label: Distributor
datasource_id: 'entity:node'
property_path: field_distributor
type: text
boost: !!float 8
dependencies:
config:
- field.storage.node.field_distributor
field_famille: field_famille:
label: Famille label: Famille
datasource_id: 'entity:node' datasource_id: 'entity:node'
property_path: field_famille property_path: field_famille
type: text
dependencies:
config:
- field.storage.node.field_famille
field_manufacturer:
label: Manufacturer
datasource_id: 'entity:node'
property_path: field_manufacturer
type: text
boost: !!float 8
dependencies:
config:
- field.storage.node.field_manufacturer
field_reference:
label: Reference
datasource_id: 'entity:node'
property_path: field_reference
type: string type: string
dependencies: dependencies:
config: config:
- field.storage.node.field_reference - field.storage.node.field_famille
field_short_description:
label: 'Short description'
datasource_id: 'entity:node'
property_path: field_short_description
type: text
dependencies:
config:
- field.storage.node.field_short_description
field_tags:
label: Tags
datasource_id: 'entity:node'
property_path: field_tags
type: text
dependencies:
config:
- field.storage.node.field_tags
field_thesaurus:
label: Thesaurus
datasource_id: 'entity:node'
property_path: field_thesaurus
type: text
boost: !!float 13
dependencies:
config:
- field.storage.node.field_thesaurus
nid:
label: ID
datasource_id: 'entity:node'
property_path: nid
type: integer
dependencies:
module:
- node
node_grants: node_grants:
label: 'Node access information' label: 'Node access information'
property_path: search_api_node_grants property_path: search_api_node_grants
@ -136,6 +59,14 @@ field_settings:
indexed_locked: true indexed_locked: true
type_locked: true type_locked: true
hidden: true hidden: true
processed:
label: 'Description » Processed text'
datasource_id: 'entity:node'
property_path: 'body:processed'
type: 'solr_text_custom:ngram'
dependencies:
config:
- field.storage.node.body
status: status:
label: null label: null
datasource_id: 'entity:node' datasource_id: 'entity:node'
@ -146,11 +77,59 @@ field_settings:
dependencies: dependencies:
module: module:
- node - node
tag_name:
label: 'Tags » Taxonomy term » Name'
datasource_id: 'entity:node'
property_path: 'field_tags:entity:name'
type: text
boost: !!float 13
dependencies:
config:
- field.storage.node.field_tags
module:
- taxonomy
- taxonomy
tag_synonyms:
label: 'Tags » Taxonomy term » Synonyms'
datasource_id: 'entity:node'
property_path: 'field_tags:entity:field_synonyms'
type: text
boost: !!float 13
dependencies:
config:
- field.storage.node.field_tags
- field.storage.taxonomy_term.field_synonyms
module:
- taxonomy
thesaurus_name:
label: 'Thesaurus » Taxonomy term » Name'
datasource_id: 'entity:node'
property_path: 'field_thesaurus:entity:name'
type: text
boost: !!float 13
dependencies:
config:
- field.storage.node.field_thesaurus
module:
- taxonomy
- taxonomy
thesaurus_synonyms:
label: 'Thesaurus » Taxonomy term » Synonyms'
datasource_id: 'entity:node'
property_path: 'field_thesaurus:entity:field_synonyms'
type: text
boost: !!float 13
dependencies:
config:
- field.storage.node.field_thesaurus
- field.storage.taxonomy_term.field_synonyms
module:
- taxonomy
title: title:
label: Title label: Title
datasource_id: 'entity:node' datasource_id: 'entity:node'
property_path: title property_path: title
type: text type: 'solr_text_custom:ngramstring'
boost: !!float 21 boost: !!float 21
dependencies: dependencies:
module: module:
@ -173,101 +152,60 @@ datasource_settings:
- materiau - materiau
- thematique - thematique
languages: languages:
default: true default: false
selected: { } selected:
- en
- fr
processor_settings: processor_settings:
add_url: { } add_url: { }
aggregated_field: { } aggregated_field: { }
content_access: content_access:
weights: weights:
preprocess_query: -30 preprocess_query: -50
double_quote_workaround:
all_fields: true
fields:
- field_famille
- processed
- tag_name
- tag_synonyms
- thesaurus_name
- thesaurus_synonyms
- title
replacement: '|9999999998|'
weights:
postprocess_query: 0
preprocess_index: -15
preprocess_query: -48
entity_status: { } entity_status: { }
html_filter: html_filter:
all_fields: false all_fields: true
fields: fields:
- body
- field_distributor
- field_famille - field_famille
- field_manufacturer - processed
- field_reference - tag_name
- field_short_description - tag_synonyms
- field_tags - thesaurus_name
- field_thesaurus - thesaurus_synonyms
- title - title
title: true title: true
alt: true alt: true
tags: tags:
b: 2 b: 2
em: 1
h1: 5 h1: 5
h2: 3 h2: 3
h3: 2 h3: 2
strong: 2 strong: 2
u: 1
weights: weights:
preprocess_index: -15 preprocess_index: -15
preprocess_query: -15 preprocess_query: -49
ignorecase:
all_fields: false
fields:
- body
- field_distributor
- field_famille
- field_manufacturer
- field_reference
- field_short_description
- field_tags
- field_thesaurus
- title
weights:
preprocess_index: -20
preprocess_query: -20
rendered_item: { } rendered_item: { }
solr_date_range: { } solr_date_range:
tokenizer:
all_fields: false
fields:
- body
- field_distributor
- field_famille
- field_manufacturer
- field_short_description
- field_tags
- field_thesaurus
- title
spaces: ''
overlap_cjk: 1
minimum_word_size: '3'
weights:
preprocess_index: -6
preprocess_query: -6
transliteration:
all_fields: false
fields:
- body
- field_distributor
- field_famille
- field_manufacturer
- field_reference
- field_short_description
- field_tags
- field_thesaurus
- title
weights:
preprocess_index: -20
preprocess_query: -20
type_boost:
boosts:
'entity:node':
datasource_boost: !!float 1
bundle_boosts:
materiau: !!float 2
thematique: !!float 1
weights: weights:
preprocess_index: 0 preprocess_index: 0
tracker_settings: tracker_settings:
default: default:
indexing_order: lifo indexing_order: fifo
options: options:
index_directly: true index_directly: true
cron_limit: 50 cron_limit: 50