elastic/elasticsearch
Highlighting array field - Also return non-matching entries
オープン
#7,416 opened on 2014/08/22
:Search Relevance/Highlighting>enhancementTeam:Search Relevancegood first issuehelp wanted
Repository metrics
- Stars
- (76,700 個のスター)
- PR merge metrics
- (平均マージ 2d) (30d で 1,000 merged PRs)
説明
I have an array field with the entries [foo, foobar, bar] and search for foo. The highlighting then returns for that field
[<em>foo</em>, <em>foo</em>bar]
I would like it to return
[<em>foo</em>, <em>foo</em>bar, bar]
I did try to set no_match_size as described on http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-highlighting.html but that didn't work. Is there any way to make elasticsearch behave the way I want?