fix es highlight

dev_forum
p31729568 6 years ago
parent c1a485f33a
commit 27465a3549

@ -22,6 +22,8 @@ module ElasticsearchAble
fragment_size: EduSetting.get('es_highlight_fragment_size') || 30,
tag: '<span class="highlight">',
fields: {
name: { type: 'plain' },
subject: { type: 'plain' },
challenge_names: { type: 'plain' },
challenge_tag_names: { type: 'plain' },
description: { type: 'plain' },

Loading…
Cancel
Save