Commit 93322615 authored by Matthieu Benoist's avatar Matthieu Benoist
Browse files

remove new from autocomplete suggestions

parent 92901f06
......@@ -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