Commit 2a14cc70 authored by Matthieu BENOIST's avatar Matthieu BENOIST
Browse files

Merge branch 'DOS0099168_SEO' into 'master'

remove new from autocomplete suggestions

See merge request !134
parents 0b4f9cff 93322615
Pipeline #15554 passed with stage
in 10 minutes and 17 seconds
......@@ -207,10 +207,7 @@ export class ElasticsearchService {
'data-fr.properties^4',
'metadata-fr.abstract^6',
'metadata-fr.keyword^5',
'metadata-fr.lineage^4',
'content-fr.title^5',
'content-fr.excerpt^3',
'content-fr.plaintext^3'
'metadata-fr.lineage^4'
],
analyzer: 'my_search_analyzer',
// fields: ['data_and_metadata', 'content-fr.title', 'content-fr.plaintext'],
......@@ -227,13 +224,6 @@ export class ElasticsearchService {
type: 'unified',
require_field_match: false,
},
'content-fr.title': {
number_of_fragments: 0,
},
'content-fr.plaintext': {
fragment_size: 50,
number_of_fragments: 5,
},
'metadata-fr.title': {
number_of_fragments: 0,
},
......@@ -260,10 +250,7 @@ export class ElasticsearchService {
'data-fr.properties^4',
'metadata-fr.abstract^6',
'metadata-fr.keyword^5',
'metadata-fr.lineage^4',
'content-fr.title^5',
'content-fr.excerpt^3',
'content-fr.plaintext^3'
'metadata-fr.lineage^4'
],
},
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment