Highlight not worked when use script_score

Elasticsearch version ( bin/elasticsearch --version ): 7.3.1

Plugins installed : ["ikAnalyse"]

JVM version ( java -version ):1.7

OS version ( uname -a if on a Unix-like system):centos7

Description of the problem including expected versus actual behavior :

hightlight not worked when use script_score,highlight not found in the response

if i used function_score it works fine

GET company/_search
"query": {
"query": {
"multi_match": {
"query": "有限公司",
"fields": ["companyName^5","historyName^4","companyDesc"],
"minimum_should_match": "4<50%"
"highlight": {
"fields": {"companyName": {},"companyDesc": {},"historyName":{}}

Thanks for the report. This is a known issue and should be fixed in 7.4.0.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.