search_api solr config for lait vs laiton #1568

This commit is contained in:
Bachir Soussi Chiadmi 2021-10-25 16:48:54 +02:00
parent 98e3d524b8
commit 87644424a2
4 changed files with 114 additions and 14 deletions

View File

@ -97,7 +97,7 @@ field_settings:
label: 'Short description'
datasource_id: 'entity:node'
property_path: field_short_description
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 8
dependencies:
config:
@ -204,7 +204,7 @@ field_settings:
label: 'Thesaurus 0 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_0:entity:name'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 21
dependencies:
module:
@ -214,7 +214,7 @@ field_settings:
label: 'Thesaurus 1 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_1:entity:name'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 13
dependencies:
module:
@ -224,7 +224,7 @@ field_settings:
label: 'Thesaurus 2 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_2:entity:name'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 8
dependencies:
module:
@ -234,7 +234,7 @@ field_settings:
label: 'Thesaurus 3 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_3:entity:name'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 5
dependencies:
module:
@ -244,7 +244,7 @@ field_settings:
label: 'Thesaurus 4 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_4:entity:name'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 3
dependencies:
module:
@ -266,7 +266,7 @@ field_settings:
label: 'Thesaurus 0 » Terme de taxonomie » Synonyms list'
datasource_id: 'entity:node'
property_path: 'thesaurus_0:entity:synonyms'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 21
dependencies:
module:
@ -277,7 +277,7 @@ field_settings:
label: 'Thesaurus 1 » Terme de taxonomie » Synonyms'
datasource_id: 'entity:node'
property_path: 'thesaurus_1:entity:field_synonyms'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 13
dependencies:
config:
@ -289,7 +289,7 @@ field_settings:
label: 'Thesaurus 2 » Terme de taxonomie » Synonyms'
datasource_id: 'entity:node'
property_path: 'thesaurus_2:entity:field_synonyms'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 8
dependencies:
config:
@ -301,7 +301,7 @@ field_settings:
label: 'Thesaurus 3 » Terme de taxonomie » Synonyms'
datasource_id: 'entity:node'
property_path: 'thesaurus_3:entity:field_synonyms'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 5
dependencies:
config:
@ -313,7 +313,7 @@ field_settings:
label: 'Thesaurus 4 » Terme de taxonomie » Synonyms'
datasource_id: 'entity:node'
property_path: 'thesaurus_4:entity:field_synonyms'
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
boost: !!float 3
dependencies:
config:
@ -336,7 +336,7 @@ field_settings:
label: Title
datasource_id: 'entity:node'
property_path: title
type: 'solr_text_custom:edgeasciistring'
type: 'solr_text_custom:asciistring'
dependencies:
module:
- node

View File

@ -30,7 +30,7 @@ field_type:
maxGramSize: 25
-
class: solr.ASCIIFoldingFilterFactory
preserveOriginal: true
preserveOriginal: 1
-
class: solr.WordDelimiterGraphFilterFactory
preserveOriginal: 1
@ -45,7 +45,7 @@ field_type:
class: solr.RemoveDuplicatesTokenFilterFactory
-
class: solr.ASCIIFoldingFilterFactory
preserveOriginal: true
preserveOriginal: 1
-
class: solr.WordDelimiterGraphFilterFactory
preserveOriginal: 1

View File

@ -0,0 +1,52 @@
uuid: 293517d1-5bbd-48ed-b0ce-1b5b3b93441e
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: dn1J-xqn-c-D_fcRJ5y4kTMuSwz6azjpKTkwDKEkHHA
id: text_string_ascii_und_6_0_0
label: 'ASCII String Field'
minimum_solr_version: 6.0.0
custom_code: asciistring
field_type_language_code: und
domains: { }
field_type:
name: text_asciistring
class: solr.TextField
positionIncrementGap: 100
analyzers:
-
type: index
tokenizer:
class: solr.StandardTokenizerFactory
filters:
-
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
-
class: solr.ASCIIFoldingFilterFactory
preserveOriginal: true
-
class: solr.WordDelimiterGraphFilterFactory
preserveOriginal: 1
-
type: query
tokenizer:
class: solr.StandardTokenizerFactory
filters:
-
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
-
class: solr.ASCIIFoldingFilterFactory
preserveOriginal: true
-
class: solr.WordDelimiterGraphFilterFactory
preserveOriginal: 1
unstemmed_field_type: null
spellcheck_field_type: null
collated_field_type: null
solr_configs: { }
text_files: { }

View File

@ -0,0 +1,48 @@
langcode: en
status: true
dependencies:
module:
- search_api_solr
id: text_string_ascii_und_6_0_0
label: 'ASCII String Field'
minimum_solr_version: 6.0.0
custom_code: 'asciistring'
field_type_language_code: und
domains: {}
field_type:
name: text_asciistring
class: solr.TextField
positionIncrementGap: 100
analyzers:
-
type: index
tokenizer:
class: solr.StandardTokenizerFactory
filters:
-
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
-
class: solr.ASCIIFoldingFilterFactory
preserveOriginal: true
-
class: solr.WordDelimiterGraphFilterFactory
preserveOriginal: 1
-
type: query
tokenizer:
class: solr.StandardTokenizerFactory
filters:
-
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
-
class: solr.ASCIIFoldingFilterFactory
preserveOriginal: true
-
class: solr.WordDelimiterGraphFilterFactory
preserveOriginal: 1
solr_configs: {}
text_files: {}