Skip to content
Snippets Groups Projects
Commit 56e7adfe authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Use index *.full.v2, change highlighting query

parent cbd16ec3
Branches
Tags
No related merge requests found
......@@ -62,7 +62,7 @@ export class ElasticsearchOptions {
'label-en': 'Formats',
'aggregations': [],
'activeFilters': [],
'type': 'number'
'type': 'string'
},
{
'field': 'date_publication',
......
......@@ -120,7 +120,8 @@ export class ElasticsearchService {
'pre_tags': ['<span class="highlighted">'],
'post_tags': ['</span>'],
'require_field_match': false,
'type': 'unified',
'type': 'fvh',
'fragmenter': 'span',
'order': 'score',
'fields': {
'*': {
......
......@@ -7,7 +7,7 @@ export const environment = {
production: false,
elasticsearchUrl: {
full: 'http://localhost:8081/elasticsearch/*.full',
full: 'http://localhost:8081/elasticsearch/*.full.v2',
meta: 'http://localhost:8081/elasticsearch/*.meta'
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment