Solr highlight range is incorrect, range is expanded, irrelevant content is highlighted, if solved?

the Solr highlight range is incorrect, the range is expanded, and irrelevant content is highlighted.

query parameters

"params":{
      "q":"licai_cpms:",
      "hl":"true",
      "hl.simple.post":"</span>",
      "hl.fragsize":"1000",
      "start":"0",
      "hl.fl":"licai_cpms",
      "rows":"10",
      "hl.simple.pre":"<span style =\"color:red\">"}
},

this query field is

"" ""

segmented with the ik word separator.
Mar.23,2022

did not find a suitable solution. The solution is not to use the solr highlight, but to set the highlight manually with JS.
who has a good way to continue to reply. Thank you.

Menu