你不会是程序猿吧?

copy_to这个字段是不是不可以高亮啊

Elasticsearch | 作者 paopao | 发布于2016年01月06日 | 阅读数:5863

copy_to这个字段是不是不可以高亮啊,跟——all一样么?
已邀请:

zttech

赞同来自:

A field can only be used for highlighting if the original string value is available, either from the _source field or as a stored field.
默认是不在_source里,但可以将其设为store:true,接下来就可以highlight了。

paopao

赞同来自:

谢谢

yyl211

赞同来自:

copy_to里面的多个字段实现高亮,如何知道匹配到的是哪个字段呢?

要回复问题请先登录注册