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